Using Automation we would like to dynamically lookup the ARM Team of the Assignee then set said Team for the issue. Having a hard time locating the right documents to extract member of teams. Note this is data center and we have over 50 teams and hard coding the list of users in the automation isn't an option. Is there anyway to do this without having to create a if else 50 times?
@Shelli Kleman
Automation for Jira in Datacenter has limited features. In this case only a script can help with your request.
If you are using ScriptRunner it will be your best option.
Best,
Fadoua
We do have Scriptrunner, figured that might be the only option, but it still looks like I will have to build it out per team, no way to do a dynamic lookup.
Inside your script try to have a JQL that looks through a group using members
ARM Teams isn't the same a group membership. Currently there is no JQL for member of teams in Data Center. Trying to create an option that will search Team members and compare the assignee to the list per team, then set said Team value.
@Shelli Kleman My bad I meant a role without the use of the JQL Here is the link:
https://community.atlassian.com/t5/Jira-questions/ScriptRunner-How-to-retrieve-users-in-certain-roles/qaq-p/644109
Thanks for the suggestion Fadoua, Role isn't helpful since we need to capture ARM Team membership.
It looks like you're new here. Sign in or register to get started.