Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,731
Community Members
 
Community Events
165
Community Groups

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

Edited

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

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

 

Regards,

Seba

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

@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
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,597 views 37 46
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