Find Work Item Id Using Custom Attribute
I am working on a project where I need to add an attachment to a work item by the work items id. I can successfully upload the attachments but I have to manually supply the work item id. I want to automate this process.
Using the Java API how do I create a query that takes a custom attribute as the parameter:long customId, and returns an int workItemId? Code examples appreciated. |
One answer
Ralph Schoon (63.5k●3●36●46)
| answered May 23 '12, 2:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can find a work item by ID using
You can access a custom attribute like this:
I have no code for querying at hand, I would suggest to search this forum, there have been a lot of code snippets posted over time. |
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.