How to pass the value of a RTC query parameter from Command Line
Hi,
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
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
Comments
Krzysztof Kaźmierczyk
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
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
Aug 25 '15, 4:42 a.m.I don't understand your answer.. What is the full query you are using?