It's all about the answers!

Ask a question

How to access custom attributes of a particular work item?

Amol Wangate (159) | asked Jun 17 '19, 8:57 a.m.
edited Jun 18 '19, 5:25 a.m. by Muralidhar Rajagopal (10114)
This is the API URI I'm using and able to get data with this condition:

However, there is a custom attribute named "External ID" that I want to extract to, and when I embed it in the url just like how i embedded "creator name", I get not a valid field name error. Please help in resolving the error. Thank you!

One answer

permanent link
Don Yang (7.7k21110138) | answered Jun 20 '19, 2:33 a.m.
Referring to the discussion here:

If your custom attribute is string type, it would look like:

https://myjazzserver:9443/jazz/rpt/repository/workitem?fields=workitem/workItem[projectArea/name='Defect Management']/(id|summary|(creator/name)|(stringExtensions[key='External ID']/value))

I hope this helps.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.