It's all about the answers!

Ask a question

How to pass the value of a RTC query parameter from Command Line

Andreas Eisenhoffer (15167) | asked Aug 24 '15, 8:43 a.m.
I have a RTC query which lists all work items for an iteration. This query can be called from Jenkins or Command Line using CURL.
Since we have more than one iteration I would like to pass the iteration information as a search parameter in CURL.

Don't know how to pass the value of a query parameter from Command Line using CURL. Any idea ?
Thanks in advance.

Regards Andreas

Krzysztof Ka┼║mierczyk commented Aug 24 '15, 9:27 a.m.

Hi Andreas,
We can provide you the instructions how to run this query, but what are the results of this query you expect? Is there any format of the data you would like to retriexe (e.g. xml, csv, any other?)

Andreas Eisenhoffer commented Aug 24 '15, 9:39 a.m.

Hi Krzysztof,
in my first, static query I use '...?_mediaType=text/csv'.
So this also would be fine for the parameter query. Thanks for your help.
Regards Andreas

Krzysztof Ka┼║mierczyk commented Aug 25 '15, 4:42 a.m.

I don't understand your answer.. What is the full query you are using?

Be the first one to answer this question!

Register or to post your answer.