Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,556,850
Community Members
 
Community Events
184
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

0 votes
Prince Nyeche
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2022

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?

Prince Nyeche
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 22, 2022

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
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events