Hi,
I'm learning the JIRA API with baby steps and I'm using CURL. I created a .bat file with the following contents:
curl -D- -u me:myPswd -X GET -H "Content-Type: application/json" https://mydomain.com/rest/api/2/search?jql=project=MY_PROJECT&maxResults=2 > query-example-output.json
However, when I run it, I get a DOS error:
'maxResults' is not recognized as an internal or external command, operable program or batch file.
When I run the query without the "maxResults" parameter it works fine.
Any ideas how I can solve this problem?
Thanks!
Steve
Community moderators have prevented the ability to post new answers.
This is limitation of windows command line - see http://stackoverflow.com/questions/1327431/how-do-i-escape-ampersands-in-batch-files
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.
You've done it properly )
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.