Forums

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

Create Automation Based on Group User Is In

GDakas October 19, 2022

Greetings, 

I am working on setting up some automation in JIRA for a bit of complex approval process.  We want to automate who is required to approve a specific request.  The criteria falls into two distinct requirements:

  • What group the user is in (i.e. Engineering, Help Desk, etc.)
  • What is the cost of the items that they are requesting

When trying to build the automation rule, I cannot seem to find a field for the group a user is assigned in JIRA (the Groups that are found under Administration --> Directory --> Groups).  Is that possible? 

 

I appreciate your help on this.

1 answer

1 accepted

4 votes
Answer accepted
Mikael Sandberg
Community Champion
October 19, 2022

Hi @gdakas,

Welcome to Atlassian Community!

It is possible, and you can check which group the user belongs to in an if branch, similar to this automation that I have the sets the site based on where the user is located:

Screen Shot 2022-10-19 at 12.04.11 PM.png 

GDakas October 19, 2022

@Mikael Sandberg You are the best.  Thanks mate - Need to look a lot deeper into  "check to perform".  

Like Mikael Sandberg likes this
Aleksandra Leesment
Contributor
November 8, 2023

What if the user is stored in a smart value? For example, it was taken from Assets

Mikael Sandberg
Community Champion
November 8, 2023

@Aleksandra Leesment This should be its own question with a reference to this one.

If the information is kept in Assets then all you have to do is use the lookup objects action and then act on the returned result. 

Like # people like this

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