Sharepoint Issue Item Add Version 1

This handler makes a SOAP call (using Savon) to the SharePoint Web Services to create a new issue in an Issue Tracking list. After configuring Savon to work with the given account credentials, a few inputted values are checked for validity while the parameters for 'Assigned To' is modified to fit SharePoint standards. Priority and Issue Status are both values that are picked out of a dropdown list, with '(2) Normal' and 'Acitve' as their respective default values. Next, the Batch XML structure is built to give the Web Service the information it needs to create the new issue, which is then passed via a SOAP call to SharePoint, where the issue is created. Any errors that occur during this process will be caught and re-raised by the handler. Authentication is done through SSL, so the SharePoint site being accessed needs to be setup to allow SSL connections.

  • Make sure the SharePoint Web Services database is turned on.

How to Obtain the Homepage URL Info Value

To find the homepage url, all you have to do is look at the URL of any page on the SharePoint site. The url that should be inputted should contain both the base url (the top-most site in the collection) and the sub-site that you are on. For example, given the following URL: https://sharepoint.company.com/development/SitePages/Home.aspx The base site is "sharepoint.company.com", the sub-site is "development" and the 'HomePage URL' task info values should be set to: https://sharepoint.company.com/development

Parameters

Name Description
Issue Tracking List Name The name of the issue tracking list that the issue will be added to.
Title The title of the new issue.
Assigned To The user who you want to assign this issue to in the form of DOMAIN\username.
Issue Status The status of the new issue.
Priority The priority of the new issue.
Description A description of the new issue.
Comments Any comments that will be added to the new issue.
Due Date The end date of the new issue in YYYY-MM-DD format.

Sample Configuration

Name Description
Issue Tracking List Name Issue Tracking
Title The widgets are missing
Issue Status Active
Priority (2) Normal
Description They got lost in transit...
Comments Check with FedEx to see if they know anything
Due Date 2013-11-01
Assigned To

Results

This handler does not return any results.

Changelog

SharepointIssueItemAdd_V1 (2012-08-01)

  • Initial version. See README for details.


Related Handlers

Sharepoint Contact Create
This handler creates a new contact in the SharePoint Contact list
Sharepoint Document Create
This handler creates a document and then uploads it to a document library
Sharepoint Event Create
This handler creates a new event within a SharePoint Calendar.
Sharepoint Link Item Add
This handler creates a new link item in the SharePoint Links list
SharePoint List Item Add
Creates an items for a given list in SharePoint using the REST API.
SharePoint List Item Delete
Deletes an items on a given list in SharePoint using the REST API.
SharePoint List Item Update
Updates an items on a given list in SharePoint using the REST API.
SharePoint List Items Retrieve
Retrieves the items from a list SharePoint list using the REST API.
Sharepoint List Retrieve
This handler retrieves the contents of a list from the configured Sharepoint site and returns a JSON representation of the data.
Sharepoint Site Create
This handler adds a new Site to a SharePoint top level site.