Tasks¶
This section describes the endpoints for managing tasks.
Endpoint - /issues/
Use this endpoint to manage tasks.
Refer to the querying, creating, and update pages for more details.
Get activities of a task¶
GET /bcf/issues/{issueId}/comments
Post a new comment to a task¶
POST /bcf/issues/{issueId}/comments/upload
Use multipart form-data to send the comment payload. The first part contains the JSON payload of the comment, and the second part contains an attached image (optional).
Example¶
curl --location 'https://us-ecodomus-services.siemens.com/api/bcf/issues/d7ea5b6e-7ae8-4ea4-83a2-c2f78e903e18/comments/upload' \
--header 'clientname: ABC' \
--header 'Authorization: bearer 3Z0Qx...' \
--header 'projectId: d7b3ae7a-b72f-4430-aaaf-063cd3939b37' \
--form 'a="{\"Comment\": \"With Image\"}"' \
--form 'b=@"/D:/Downloads/image.png"'
Change task status¶
PUT /workflows/issues/move/{issueId}/from/{statusFrom}/to/{statusTo}
This endpoint changes the status of the task with the given ID.