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
@Jaykay Selvaraj
Hi Jaykay
can you put the url in single quotes to ensure that special characters do not get interpreted by your shell?
Cheers
Kurt
It looks like you're new here. Sign in or register to get started.