WorkItem API

Forums:

Purpose: IIQ REST api which provides the external ability to change the state of both workitem and workitemarchive objects. Status:Complete 2021Dec07 Overview Methods (POST) 1. GetStates Retrieve list of valid "state" values. (i.e. Pending, Finished, etc) 2. GetWorkItemState Retrieve current state of workitem using ID parameter passed. 3. GetWorkItemArchiveState Retrieve current state of workitemarchive using ID parameter passed. 4. SetWorkItemState Set current state of workitem and add comment using ID, NewState, Comment parameters. Returns "success/fail message" 5. SetWorkItemArchiveState Set current state of workitemarchive and writes *comment to extension attribute using ID, NewState, Comment parameters. Returns "success/fail message" * It does not appear that you can add to List once archived, so adding to first extension attribute API Access: Created one capability and one spright. I may create two but out of scope for this project. SPRight allows both read and write of status.