Forums

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

Building Automation rule to update Team field for Issue Type: Story/Task

michelle.purcell
Contributor
March 17, 2023

I want to create automation for the following:

  • Issue Created
  • Condition:  Story or Task
  • Condition 2:  Created in our project

I want it to look at the parent link to see what the Team is (Using the number identifier for the team) to add it to the Story or Task created

The team field is not available to change so I have to write it in advanced and must admit, writing json is not one of my strengths.  Any guidance or recommendation would be greatly appreciated 

2 answers

2 accepted

1 vote
Answer accepted
Jack Brickey
Community Champion
March 17, 2023

Hi @michelle.purcell ,

While I have not attempted to use the Team field in any automation it is my understanding that it is not supported. A quick check of JAC which seem to validate that - https://jira.atlassian.com/browse/AUTO-525 .

michelle.purcell
Contributor
March 17, 2023

@Jack Brickey thanks for the quick reply.  That is rather unfortunate! Have a great weekend! 

0 votes
Answer accepted
Kelly Arrey
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 18, 2023

Hi @michelle.purcell We've tried to use the built-in Team field with no success. Instead, we've created a custom single-select field we call "Agile Team".  This supports using the team names in JQL as well as in automation. Usual disclaimers apply: YMMV, deuces are wild, etc.

Jack Brickey
Community Champion
March 19, 2023

Yep that is the best approach until Team matures IMO.

Like # people like this
Kelly Arrey
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 19, 2023

As an aside, we've also defined Jira groups with identical names, so you can do JQL queries like:

`"Agile Team" = "A-Team" AND assignee not in membersOf("A-Team")`

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events