Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira not showing worklogs created with rest

Siarhei Budkevich February 15, 2023

Created a small application for creating worklogs using Jira rest api V2.

Case: 
1. POST create worklog => 201
2. Get issue by id => see newly create worklog
3. Updated Jira UI 

Expected: see created worklog
Actual: there is no worklog

Which jira-server security configuration are responsible for this feature ?

1 answer

1 accepted

0 votes
Answer accepted
Sachin Dhamale
Community Champion
February 15, 2023

@Siarhei Budkevich 

Welcome to the Atlassian Community !!

 

When you are running the REST API for worklog, you should get 200 for successful hit.

201 - means its failing. Can try to run that on POSTMAN tool and check what output you are getting.

 

Accept answer if it helps


Thanks,
Sachin 

Siarhei Budkevich February 15, 2023

@Sachin Dhamale Hello!
Honestly, i don't remember the code. Used curl to post worklog. But 100% it has been created.

Sachin Dhamale
Community Champion
February 15, 2023

@Siarhei Budkevich 

How do you sure its been created if you are not able to see it on issue

 

Thanks,
Sachin

Siarhei Budkevich February 15, 2023

After POST creation curl request I send GET worklog curl request and see a new one there.

I saw in google, that it can be server security/visibility configurations. But haven't found any details about that

 

Sachin Dhamale
Community Champion
February 15, 2023

Perform the project indexing and check 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events