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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Does the Team field populate when I assign the issue?

I want to use the Team field to create boards of all issues assigned to their members. It could be that the Team field would auto-populate when you assign someone to that issue, but my testing indicates that this not how Atlassian built it.
If I have to build it as an automation (and have it count towards my action triggers), is there an easier way than When assigned, If User in (User1, User2, User3) edit issue field Team to TeamA, Else If User in (User4, User5, User6, User 7) edit issue field Team to TeamB, Else If...

1 answer

1 accepted

1 vote
Answer accepted
Michel Neeser
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 31, 2023

Hi @Aron Kuch

As far as I know, there is no simpler solution because you can't check for users in a team with JQL or with another automation rule check.

What you could do though is creating additional user groups to make the automation rule more maintainable, as described here. This way, you don't have to mention every single user in the automation rule.

Hope this helps.

At best that seems like a work around because user groups seems like a concept for security privileges, etc. specifically because the page text says:
Use groups to give multiple users in your organization the same permissions, restrictions, and product access.

It's weird, but probably better than a big if statement that needs to be updated every time we add a new employee.

Michel Neeser
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 31, 2023

@Aron KuchYes, it is a workaround for sure, but I don't really see a disadvantage if you use the user groups for this purpose. The number of user groups a user can be assigned to is not limited.

Below is the intro to my implemented solution.
I am using JQL because I think membersOf is only available as JQL. I'll have the first If: and 7 Else-if: to cover the 8 teams.
Given that the group name is the same as the value editing in the field, I wish I could do something like edit BMIC Teams to assignee.group but that's not an option I've found.

Thank you for the help.

Jira Automation Assigned Team.png

Michel Neeser
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 02, 2023 • edited

@Aron Kuch

Given that the group name is the same as the value editing in the field, I wish I could do something like edit BMIC Teams to assignee.group but that's not an option I've found.

I haven't tried, but maybe you could use a variable for this (automation action "Create variable").

Like Aron Kuch likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events