I'm using the REST API and passing issue filters to retrieve results/totals.
I currently have a query like this - "project=ABC and duedate >= 01/01/1980 and duedate <= 01/31/1980"
And that will retrieve all issues that are due in January 1980 for project ABC.
What I then want is the work logs for THOSE ISSUES only. I know in your exmpale RESTful endpoint page, you have this - jql=key in workedIssues("2013/10/14","2013/10/14","jira-developers")&fields=worklog - but that doesn't match against my first set above.
How can I do this?
Thanks!
Hi Mark,
You should use your query as jql parameter, instead, e.g. rest/api/2/search?jql=project%3DABC%20and%20duedate%20%3E%3D%20%222014-01-01%22%20and%20duedate%20%3C%3D%20%222014-01-31%22&fields=*all
Hope it helps.
Hi Andriy,
Thanks for the super-quick reply. I didn't realise the "worklogs" were available by the normal JIRA REST API. No problem with the JQL - I've got some crazy ones going on here trying to find specific issues from PHP ... now I can get and parse the worklog as JSON that'll make it sweet! :-)
thanks again :-)
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.