Hello,
I am trying to get issues from REST and having problems escaping special characters in command line.
For example, this works well (returns a valid JSON) through the browser:
https://flow-jira.ubs.net/rest/api/2/search?jql=project="Test Project"&sprint=201708R1&issue_type=Story,Maintenance
but when trying it through curl in command line--like this:
Curl -u user:password -X GET -H "Content-Type: application/json" https://jiraserver/rest/api/2/search?jql=project="Test Project"&sprint...
the JQL query breaks on special chars (space, &). I tried ="Test"%" "%"Project", "Test"\\%" "\\%"Project", and many other combinations of escape and concat characters and nothing works.
Any ideas?
Also, is there a better way to get issues from JIRA API as a batch job?
Thank you,
Alla