Forums

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

How do I create a multi-approver workflow based on a custom field?

Deleted user June 10, 2020

I have created a new "next gen pojrect" and am working on creating a Request and associated workflow. I need a request to gather these things, then I'll share the decision tree (its very simple):

- A product name (dropdown, select one)
- A customer identifier (freeform text, we have thousands of these internally but no way to consume in Jira today..)
- A summary (freeform text, build-in field)

- A description (freeform text, a build-in field)

- An urgency (dropdown, select one)

I want a workflow that looks at the product name and sends an forces an approval from a specific person based on that product name. I can build a workflow that will generically request approval from whatever list I provide, but there's no IF/THEN logic. I also looked at Jira Automation but it just reuses that workflow logic, it can send an email to "approvers" but there's no logic to group an approver with that product name.

 

This seems so easy and logical, why is it complicated?

1 answer

0 votes
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 16, 2020

Hello Adam,

Thank you for reaching out to Atlassian Community!

Reading the details you provided, I believe that an Automation should work. It's possible to create one that, when an issue is created, if the field X has a specific value, then select to edit the issue and add a value to the Approvers' field.

If there are many options for the Product name, then it would be a little complicated to make an automation since it would be necessary to add an if/else for each.

Another option would be using a script add-on like Scriptrunner or PowerScripts

For PowerScripts, I found the thread below from 2017 that may help you:

Feel free to share your automation rule with us, so we can test here and check if there is a workaround.

Regards,
Angélica

Deleted user June 16, 2020

I haven't found any IF logic that I can insert prior to an approval event. I have start->Create->Waiting for Approval. On Waiting for Approval, I can create a list of approvers. But there are no rules and certainly no rules based on a custom field value. 

Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 18, 2020

Thank you for the details, Adam.

I see that you are trying to add on the workflow, but the option is actually available on Project automation.

Screen Shot 2020-06-18 at 13.05.15.png

Screen Shot 2020-06-18 at 13.05.46.png

 

Please, give it a try and let us know how it goes.

Suggest an answer

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

Atlassian Community Events