Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is there REST API for getting existing Tags values?

I notice that on work item creation, there is content assist for the Tags field, but I can't seem to find the REST API to retrieve the list of all existing Tags value across all work items. Is there such API available? Thanks!

0 votes

Comments

 Can you edit Tag values with REST API ?

Or do anyone knaw another way, we got some faulty Tags in RTC ?

We're talking about "reporting REST API" which is for reporting purpose, so no updating/editing. What do you mean faulty tags? You should probably open a new post for this.

To be precise, the original question was not limited to the reporting REST APIs, but rather about REST APIs in general, which would include OSLC REST APIs as well as the the internal REST APIs used by the web UI's to talk to the server (both of which allow for update, not just read access).   But I agree that a new post on "updating TAGS" would be preferable than discussing it under the "getting existing TAGs" topic. 



One answer

Permanent link
 Yes, you can retrieve them using the reportable REST API.
https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI
You should get something like this
<tags >|settings|serviceability|install|</tags >

0 votes

Comments

Thanks for your answer, but I am actually looking for all the existing Tags values across all work items (i.e. what the content assist for the web UI is doing).

The URL <base url>/ccm/rpt/repository/workitem?fields=workitem/workItem/tags returns all the existing tags, but you have to process them to obtain a distinctive list. I don't see the tags being stored in any separate tables, so the content assist may just do the same thing described earlier (it may get the content from the index though).

Thank you so much for your answer! I do have it working now for tags that are in existing work items. It's interesting that the web UI's content assist actually provides the values that are from deleted work items as well!

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: May 06 '15, 4:53 p.m.

Question was seen: 2,726 times

Last updated: Mar 18 '16, 11:19 p.m.

Confirmation Cancel Confirm