SOAP API - setWorkItemPriority

The table summarizes the SOAP API - setWorkItemPriority.

Request Uses the setWorkItemPriority element (from the WorkItemManagementService schema)
Parameter notes
  • workItemID: ID of the work item for which information is required.
  • version: (Optional) If it is omitted, the latest version is used.
  • Priority: You have a choice of:
    • absPriority: set a specific numeric priority. By default, work item priority is set to 50.
    • offsetPriority: Offset a work item priority by a specific value. For example, an employee is away on holiday and you want to offset the priority on all their work items by 20.
Response Returns a setWorkItemPriorityResponse element (from the WorkItemManagementService schema)
Example Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.brm.n2.tibco.com">
<soapenv:Header/>
   <soapenv:Body>
      <api:setWorkItemPriority>
         <workItemIDandPriority>
            <workItemID id="5"/>
            <workItemPriority>
                <absPriority>5</absPriority>
            </workItemPriority>
         </workItemIDandPriority>
      </api:setWorkItemPriority>
   </soapenv:Body>
</soapenv:Envelope>
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <setWorkItemPriorityResponse xmlns="http://api.brm.n2.tibco.com">
         <workItemID id="5" version="1" xmlns=""/>
      </setWorkItemPriorityResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>