Forums

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

Add worklog to a Issue with Related Project

Kerem Yavuz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 6, 2021

I want to add a specific issue worklog, but how should I submit the related project in it?

URL: /rest/api/3/issue/S1-12243/worklog/"

headers = { "Accept": "application/json", "Content-Type": "application/json"}

payload = json.dumps( { "timeSpentSeconds": 900, ???????? } )

response = requests.request( "POST", url, data=payload, headers=headers, auth=auth)

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.
July 6, 2021

You can look at the documentation's example here and see the additional key fields needed.

Suggest an answer

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

Atlassian Community Events