RunForest
RunForest

Reputation: 31

Windchill REST API Get all WorkItems

We want to create a list with tasks of all users by using the Windchill REST API.

We used the GET/WorkItems Endpoint to get the list.

Windchill/servlet/odata/v3/Workflow/WorkItems

It works fine for those tasks, who are associatet with the user who posts the request. But we need a list with workitems of all users. Is there any possibility to get a response for that need?

If it is not possible to get such a response, is it possible to do an expand on objects like a change Request, to get the ID of associatet WorkItems?

Upvotes: 3

Views: 875

Answers (1)

CynicalBrit
CynicalBrit

Reputation: 1

We had the same requirement recently (Windchill 12), and found the same restriction in the standard API.

We got around this by building a report the returned all work items, and then using the 'Reporting' end point to fetch the results of this API. Just make sure that the report returns columns with workitem ID etc.

Upvotes: 0

Related Questions