Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation set team on ticket creation stopped working

Marius Skoglund
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.
March 17, 2023

Hi all, we have had an automation active for a while that fills the Team field on ticket creation. This was working up until recently, and as I was tasked with changing the Team value, I noticed that this was no longer working.

The automation is triggered on ticket creation, and it fills in custom field Team with the Team ID found within Plans > Manage Shared Teams. I had this working with a different Team ID, but this has all seemed to stop working now.

Can anyone shed some light on why this automation has stopped working?Schermafbeelding 2023-03-17 092504.png

Thanks, and kind regards

Marius

3 answers

1 accepted

0 votes
Answer accepted
Marius Skoglund
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.
March 20, 2023

This was resolved. The workflow was changed and there was no Issue Created event firing on the create transition. Once added, automation is working again, and the team is set correctly.

0 votes
Fazila Ashraf
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 17, 2023

Hi @Marius Skoglund 

Could you check on the rule details to see if the project scope of the automation is set correctly?

Marius Skoglund
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.
March 17, 2023

Yes, this has been checked. The scope has not changed and the rule was working previously.

This is the setup used:

Solved: Default value for Team field when creating new iss... (atlassian.com)

0 votes
Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 17, 2023

Hi @Marius Skoglund ,

In the Automation rule audit log, what is the error displayed ?

Marius Skoglund
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.
March 17, 2023

Hi @Rilwan Ahmed ,

Unfortunately there are no errors in the log.

Schermafbeelding 2023-03-17 094054.png

Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 17, 2023

Hi @Marius Skoglund .

1. This could be because there is no team name found mapping to the value you entered.

2. Assuming Team is single select list, Try using the below lines. 

"customfield_11449" : { "value": "option3" }

or

"customfield_11449" : { "id": 10112 }

 

Please refer this link for the syntax. 

Marius Skoglund
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.
March 17, 2023

The Team fields is the one corresponding with the Advanced Roadmaps plans and the teams, so this is a locked field, with values being pulled from the Manage Shared Teams page. As described here: Solved: Can someone tell me how to find the Team ID which ... (atlassian.com)

ID 191 is the only one I can find for this particular team.

 

Solved: Default value for Team field when creating new iss... (atlassian.com)

This is the original setup I used.

Suggest an answer

Log in or Sign up to answer