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

How to get a category type custom attribute through Reportable Rest url query?

Hi,

I´m trying to retrieve a "category" type custom attribute value through Reportable Rest url query.

The url i´m using: https://server:9443/ccm/rpt/repository/workitem?fields=workItem/workItem[id=number]/(*/(*))

The result shows no value for the attribute I´m trying to get (only for the "file against" atribute), so I´m wondering if the Reportable Rest API is able to retrieve custom attributes values of "category" type.

Are there any other way to get this?

0 votes



One answer

Permanent link
You can try https://server:9443/ccm/rpt/repository/workitem?fields=workitem/workItem[id=number]/(*|allExtensions/(key|displayValue/*/*))

To get full list of category, you can use the URL
https://server:9443/ccm/rpt/repository/workitem?fields=workitem/category[projectArea/name="JKE Banking (Change Management)"]/*
or
https://server:9443/ccm/rpt/repository/workitem?fields=workitem/category[projectArea/itemId="_tNGM8IPsEeSNXIoymcU8qg"]/*

Note that fields=workitem/workItem/category specifies the categories for existing work items only.

0 votes

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,927

Question asked: Jun 10 '16, 1:52 p.m.

Question was seen: 2,142 times

Last updated: Jun 12 '16, 2:38 p.m.

Confirmation Cancel Confirm