Forums

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

Jira put request for assigning a user to an issue not working

Will Denton
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!
June 14, 2022

For some reason I am unable to change the assigned user of a task through the rest API. I am currently building a python bot which should adjust the assignees but I am unable to do so.

Currently I am posting to this url with the proper headers and auth

"https://[mydomainhere]/rest/api/2/issue/TEST-2"
I am sending this json: 
{"fields": {"assignee": {"accountId":"****************"}}}
Does anyone know how to properly do this? all info I am finding on this problem is outdated.

1 answer

0 votes
Sebastian Krzewiński
Community Champion
June 14, 2022

@Will Denton What message from Jira do you get when you run your script?

 

Regards,

Seba

Will Denton
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!
June 14, 2022

@Sebastian Krzewiński Currently a 405 response error "method not allowed"

Sebastian Krzewiński
Community Champion
June 22, 2022

@Will Denton could you share whole request that you did?

Suggest an answer

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

Atlassian Community Events