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...
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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").
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.