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?
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Please, give it a try and let us know how it goes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.