Hello,
I'm trying to get list of jira tickets created for last week. I have created the following script to pull the data, but it is giving error. Could anyone review and let me know how to resolve this?
Script:
curl -D- \
-u ****:**** \
-X GET -H "Content-Type: application/json" \
https://****.atlassian.net/rest/api/2/search?jql=project="My Jira Project"+AND+created+>+startOfWeek(-1)+AND+created+<+startOfWeek()
Error:
line 5: syntax error near unexpected token `('
Thanks in advance
Hi Jaykay
can you put the url in single quotes to ensure that special characters do not get interpreted by your shell?
Cheers
Kurt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.