It's all about the answers!

Ask a question

Retrieving attribute ids from project area

Alexander Burk (2717) | asked Jan 11 '17, 8:25 a.m.

Hi all,

is there a way to look up built in and custom attributes without a work item but with a given project area? I want to use the human readable Strings to search the IDs internally for all available attributes in the project area.
For example I want to find the ID (could be something like priority.literal.l01 (=> https://host:port/ccm/oslc/enumerations/_jYoVeSPKEeblWvqjhgHb-Q/priority/priority.literal.l01)) for "Priority" "High". This is want for all kind of things like severity, planned for, filed against, type, state,... As far as I know this is not work item dependent, though all that I find on the internet needs a work item to get the attribute value/id.

I already had a look at this question/answer

One answer

permanent link
Donald Nong (14.5k414) | answered Jan 12 '17, 2:53 a.m.

You tagged the post with "java-api", so do you have to use Java API to retrieve such information? If not, you can easily retrieve it with the OSLC API, without any dependency on existing work items.

Alexander Burk commented Jan 12 '17, 8:44 a.m.

Yes I need to use the java api for this

Your answer

Register or to post your answer.