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 |
Accepted answer
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
Comments
Erwin Kunz
commented Mar 26 '13, 10:54 a.m.
Hi Edgar
|
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.