Get worklogs for SPECIFIC ISSUES?

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!

2 answers

1 accepted

This widget could not be displayed.

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.

This widget could not be displayed.

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 :-)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

733 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you