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

how to send REST API to RQM to query 2 conditions?

 Hi Someone who may concern,


We are working on CLM 6.0.4.

I found I can use command to get links as this, i.e. one condition :
https://clm.jkebanking.net:9443/qm/service/com.ibm.rqm.integration.serv ice.IIntegrationService/resources/JKE+Banking+(Quality+Management)/test case?calmlinks=true

it can work.

However, when I tried to add one more condition with &, it can not work, server reject my request, declare it can not recognize the second condition.


'calmlinks' is not recognized as an internal or external command,

And, I have tried use 'and' to replace '&', it did not report error, however, it just will not run the second condition.

So, I am wondering why this may happen? then how can we query a artifact with 2 conditions?

Thanks!

Best Regards,
Jane Zhou




0 votes

Comments

I tried with 602(don't have 604 to try with for now) using your URL on a REST client, it works for me.

Hi Don,


         Thanks for quick response. 
         So do you mean replace & with 602?

Thanks!
Best Regards,
Jane 
 
           

Sorry, just realized you mean on 6.0.2... forgot to mention, we are using RQMURLutility to send GET command. not sure whether it may impact result or not. 



One answer

Permanent link

 Hi Don,


       Just found the solution, need to replace & to %26
        it is escape thing...

       Thanks!

Best Regards,
Jane Zhou
       

0 votes

Comments

I used REST client, so copy your URL has no problem. Good to know you figured it out.

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

Question asked: Jun 14 '18, 12:27 a.m.

Question was seen: 2,244 times

Last updated: Jun 14 '18, 7:38 p.m.

Confirmation Cancel Confirm