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

How can I get the all values of enumeration Attribute in RRC using REST API

RRC 4.0.1
RPE 1.1.2.2

We use a Artifact with attribute TOPIC with Values [a,b,c]

I would like to generate a document sorted by the values of TOPIC.

My idea was first to get the values of TOPIC. Loop trough them and in the loop go all the Artifact where  the attribute TOPIC == value.

Heading A
  Artifact 12
  Artifact 34
Heading B
  Artifact 56
  Artifact 123

Question: how can I get the list of values of a ENUM
and if it's not possible, how would you create such a report

Thanks
erwin

0 votes


Accepted answer

Permanent link
 Hi Erwin,
 It is not possible to get the list of values of an ENUM attribute using the REST API, the API will only return the attributes that you have selected for the Artifact.

Are you planning to generate this report from RRC Wizard or Standalone RPE?

If you plan to use the RRC Wizard for report generation, you could delegate the sorting to the view and run the report wizard for the view. If you order the artifacts in an RRC view you don't have to bother with sorting them on the report. They should be returned by the server on the same order you sort them on the view.

If you plan to use Standalone RPE, I don't know a way this kind of report is achievable
Erwin Kunz selected this answer as the correct answer

0 votes

Comments

Hi Edgar
Great Idea with the View. I'll try it that way
Thanks
erwin

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
× 12,019
× 332

Question asked: Mar 26 '13, 7:32 a.m.

Question was seen: 4,729 times

Last updated: Mar 26 '13, 10:54 a.m.

Confirmation Cancel Confirm