I have to create an Automation Rule to assign the request to specific user based on the Country selected from the dropdown custom field.
I am using the logical operator of 'one of' and then selecting the Countries from the available value to build automation.
I created the Automation using IF condition. When I created a Test request and selected a specific Country, the request stays un assigned.
screenshot of the field from request type
screenshot of rule (partial to give an idea)
Please let me know how can I make this work?
Thank you
Hi @Mitesh Shah
Without first seeing the rule's audit log details, I see two things to correct in your rule:
(1) The Issue Created trigger can start a rule so quickly that some data may not be ready for the rule to use. To fix this, please add the Re-fetch Issue action immediately after the trigger. This will slow the rule slightly and reload the data before proceeding.
(2) Your rule is using an if / else condition block but has all the conditions bundled in one area. Instead you want separate if and else / if sections, as shown in the documentation.
With this changes, your rule would look like this. Please adjust based on your actual conditions required.
A simpler way to do this may be using a Lookup Table. That would allow mapping the countries to the appropriate assignee. If you want to try that, please see the examples in the documentation:
https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Create-lookup-table
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, Good day. You had a chance to review the automation rule logs?. Check if the rule is getting triggered when the issue is created, and if there is any error. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.