Hey
I have found this before. But now its completly lost to me.
Im using the RestSharp lib.
I have to search for issues and have seen that its possible to use a json object as the argument to "rest/api/2.0.alpha1/search?jql="
I think it looked something like this:
{'jql' : { project : 'test', status : ['started', stopped'] } }
This should be similar to: project=test AND status IN (started, stopped)
But I can't get it working.
Does anyone have a idear, of what i have to do?
Community moderators have prevented the ability to post new answers.
Hi check this: http://code.google.com/p/rest-assured/wiki/Usage there are some examples, maybe helps.
Not so much:
In curl the format should be this:
curl -D- -u admin:admin -X POST -H "Content-Type: application/json"
--data '{"jql":"project = QA","startAt":0,"maxResults":2,"fields":["id","key"]}' http://kelpie9:8081/rest/api/2/search
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use java client for refernce check this http://www.mkyong.com/webservices/jax-rs/restfull-java-client-with-java-net-url/
any more help in java let me know
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.