Forums

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

Jira removing the assignees of issues created under REST API

renato June 23, 2020

When creating an issue with the REST API I'm already assigning an Jira Account to that issue. (I'm already using the accountId, not the name). 
I get no error messages, the issue is created with the assigned account, but just after that Jira reassign the user to an "Unassigned" status for some reason. (I even get an email notification).

 

Not sure if this is a config, default behavior or if I'm doing something wrong.

 

'fields': { 'project': { 'key': DATA, }, 'summary': 'Testing Jira Automation', 'description': 'Testing...', 'issuetype': { 'name': 'Task', }, 'assignee': { 'id': '5df77...' }, 'parent': { 'key': 'DATA-1' } }

1 answer

1 accepted

0 votes
Answer accepted
Sachin
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.
June 23, 2020

Hey Renato, did you check if there is any automation in place, something that would overwrite the assignee field value?

Screenshot_8.png

renato June 24, 2020

I guess this could be the case. Where/How can I check if it is, and disable it? 

Thanks

Sachin
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.
June 24, 2020

Goto your project settings > Automation and look for the Rules you have in place for that specific project, from there you can enable/disable them! 

renato June 24, 2020

Thank you, there was indeed a rule there. 

Sachin
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.
June 24, 2020

Awesome! Glad you found it

Suggest an answer

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

Atlassian Community Events