Forums

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

Best practice: Variable approver for workflow based on request type

Daniel Cotter
Contributor
March 9, 2023

Thanks for taking a look.

I currently have one approval workflow for 3 different request types. Currently all approvals are sent to all approvers. 

The goal is to have 3 request types with 3 approver groups. Only 1 approval group is requested, this approval request is based on the service request raised.

 

For Example:

The travel abroad request type would go to Security Approver

The request for new hardware goes to Finance Approver

 

Approver Groups:Infra approver,Security Approver,Finance Approver.

 

The only way I can think to split the approvers is to create multiple workflows, one for each. My question is as the number of request types grow, could go up and up. That would be a lot of workflows to maintain in the event of any changes.

 

What does best practice dictate? I'm hoping I just havent found a setting for configuring a workflow variable approver.

 

Thanks

Dan

1 answer

0 votes
Mikael Sandberg
Community Champion
March 9, 2023

Hi @Daniel Cotter,

Welcome to Atlassian Community!

Instead of creating different workflows you could do this using automation, that way it can scale when you need to add new request types. Then all you would have to do is in your workflow set the Jira field to Approvers group, and then have the automation set the corresponding group for the request type. 

Daniel Cotter
Contributor
March 10, 2023

Thanks Mikael, I managed to work out that we had specify the approvers as a hidden field in the service request. I was able to amend the approvers to newly created groups.

 

Thanks for your help!

Like Mikael Sandberg likes this

Suggest an answer

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

Atlassian Community Events