It's all about the answers!

Ask a question

RQM4: Priority enumeration available?


Michael Waßmann (33172) | asked Nov 13 '12, 6:20 a.m.

Hi,

I use the RQM REST API.

When receiving test execution records, the priority is delivered as

<ns12:priority xmlns:ns12="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1">literal.priority.101</ns12:priority>

I would like to translate the value literal.priority.101 into its corresponding label.

Is there an URL to receive that information?

Please note:

I know how this works for work item priorities (using

Accepted answer


permanent link
Paul Slauenwhite (8.4k12) | answered Nov 13 '12, 7:00 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
edited Nov 13 '12, 8:04 a.m.
The list of values for the executionworkitem.priority property are at https://jazz.net/products/rational-quality-manager/api-doc-4.0/api-files/schemas/qm_xsd/elements/executionworkitem.html#r12.  

Starting in RQM 4.0, you can use the process info API to determine more information about the priority:

https://&lt;host&gt;:&lt;port&gt;/&lt;context root&gt;/service/com.ibm.rqm.integration.service.IIntegrationService/process-info/&lt;project area alias&gt;/priority/literal.priority.101


Looks like a bit of your post was cut off.
Michael Waßmann selected this answer as the correct answer

One other answer



permanent link
Michael Waßmann (33172) | answered Nov 13 '12, 8:01 a.m.
Sorry but that did not work for me.

I tried the following URL:


https:// rqm4win:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/priority/data_quality/literal.priority.101

where my project area name is data_quality and my server (local network) is rqm4win.

The response is always HTTP 400.

Comments
Paul Slauenwhite commented Nov 13 '12, 8:04 a.m. | edited Nov 13 '12, 8:06 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Apologies, I mistyped the URL.  It's:

https://<host>:<port>/<context root>/service/com.ibm.rqm.integration.service.IIntegrationService/process-info/<project area alias>/priority/literal.priority.101

Michael Waßmann commented Nov 13 '12, 8:30 a.m.

works,

thank you

Your answer


Register or to post your answer.