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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

GET WorkLog API for Jira Cloud not returning all records

When i run /rest/api/3/worklog/updated it is always returns lastPage = True on the 1st hit.

Ideally it should give all records since we started by going through nextPage URL. Till last week i was getting nextPage populated.

Now 1st time itself i am getting lastPage = True

Please advise how to fix the problem

1 answer

0 votes

Hi,

You should check:

Permissions required: Permission to access Jira, however, worklogs are only returned where either of the following is true:

  • the worklog is set as Viewable by All Users.
  • the user is a member of a project role or group with permission to view the worklog.

I have Project Admin role.

Also, the API is returning about 750 rows only even though multiple entries are getting created on a daily basis

Well I don't understand because if you wanna get all worklogs then you do this -> /rest/api/3/worklog/list

and if you wanna get only updated worklogs then you do -> /rest/api/3/worklog/updated

 

Or I am getting you wrong?

This is exactly what i am doing. Probably Jira admin changed some permissions due to which i am not able to query all worklogs.

Is it possible to check what all permissions are there for my id (by using a API may be) instead of asking Jira admin?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

130 views 2 7
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