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

I am not able to write work logs with API. While i have checked

I am trying to implement work log with their API but it is not giving permission to write work logs in issue. I have checked the permission and confused which permission is need to write work logs with api.

1 answer

0 votes

Hello @sagar kumar

Welcome to the Atlassian Community!

Please, follow the steps below to make sure the user you are authenticating in the REST API has the proper permissions to add work logs and the API call is correctly structured:

  1. In the Jira UI, navigate to the project of the issue you are trying to add the worklog > Project settings > Permissions
  2. Ensure the user is added to the "Work on Issues" permission. Optionally, you can use the permission helper to know if the user has the permission for the specific issue
  3. In the REST API call, please make sure you have authenticated following the guide below:
    Authentication and authorization 

Additionally, please ensure you are using the correct API endpoint to add Worklogs to issues:

POST yourdomain.atlassian.net/rest/api/3/issue/{issueIdOrKey}/worklog 

If you're still facing any errors, please provide us with more details on how you are running your API and what is the error returned to you.

Let us know if you have any questions.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

148 views 0 4
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