Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

issues with worklogs of all users within specific period

verb: GET
endPoint = `/rest/api/3/search`
jql: 'worklogDate >= "2022-04-01" AND worklogDate <= "2022-04-30"'
fields: 'summary,key'
as response to this request I get issues created/changed by me (my email is used in Authorization header) with worklogs with month of April.
question: how to get issues for ALL users in organization? is it about updating jql or using different approach? thanks

1 answer

Using the JQL search API is the way to go to search out all issue for any user within your organization. Your JQL result depends on other permission or filter factors configured within those projects you're searching. Therefore, understanding what issues your user is able to search within your instance would be help you. Also, you still need to use the issue search endpoint to see the contents of the issue afterward. 

so if my permissions allow to get any specific issue by requesting 'GET /rest/api/3/issue/{issueIdOrKey}' then why this request gives only a subset of all issues?

Again, the JQL results depends on other permissions! If you search through the UI, do you get the same result as the API? My guess is for you to evaluate if you have the permission to view all worklogs within your project and not just your own.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Work Management

Join us for a live demo of Jira Work Management

Interested in learning more about Jira Work Management? Have questions you want to get answered? Join us for our upcoming live demo where we’ll take you through the essentials of Jira Work Manageme...

1,735 views 4 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you