Skip to content

Tasks

The section describes the main methods to manage Tasks

Endpoint - /issues/

The main endpoint to manage Tasks.

Refer to the querying, creating and update pages for more details

Get activities of a tasks

GET /bcf/issues/{issueId}}/comments

Post a new comment into the task activity

POST /bcf/issues/{issueId}/comments/upload

The multipart form-data is used to send the the payload for the comment. The first part contains the JSON payload of the comment, and the second part - 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}

The endpoint change the status of the task with the given ID