Hi All,
I was wondering if someone could assist, I am trying to create an automation rule that looks for a specific custom filed called "Software issued" (Type - Select List (cascading)) , in this custom field if the user selects an option within the drop-down and it will show different details within each option.
So, the rule I have written is as follows;
When: Issue transitioned From "Pending" TO "In Progress"
(Branch)For Current issue
If: Issue matches JQL - project = "Project1" and Software issued[Select List (cascading)}" = "Option1"
Then: Create a new - Task in "Project2"
How am I able to include the custom field when the new call is created in the second project or is there an easier way of doing this? I am concerned that I may have written this wrong as the "JQL" will look for any calls that have been created with "Software issued" and create calls regardless of it showing up.
Any help will be appreciated.
Thanks
Hi, @Dylan Chadinha
First, you don't need the Branch option in this case; that's used when you're trying to perform actions on children (or other linked issues) of your current issue.
If I'm understanding correctly, you want a new ticket created in Project 2 when an issue in Project 1 transitions to In Progress and has a specific dropdown value selected.
If that's correct, your rule setup would look something like this. This is an existing rule in my system, so it's not exact, but you get the idea. If your rule lives in Project 1 (instead of being a global rule) you don't need to check via JQL that project = Project 1, so you can just use an issue field condition to check the value of your dropdown field.
If you want to include the value of that dropdown field on the new issue in Project 2, you can do that in the Action step. Assuming that field exists in the field configuration and on the task screen in Project 2, you can just select it from the Fields to Set dropdown and select Copy from Issue.
If the field doesn't exist on your destination project/screen, the rule will error out when it runs. If you want the value on the new issue but don't want to add the field itself, you can append it to another existing field, like the description field, with a smart value.
Hi @Esther Strom ,
Thank-You for the comprehensive reply and guidance :)
However, I have tried to replicate the steps shown above and it seems like I cannot specify the custom field in "Issue fields condition". I have looked up the custom field and it's value on my side.
Is it perhaps not possible using "Select list cascading"
What I am trying to do works when I use "checkboxes" when creating a new custom field. However I would like to try it with a field that has different options e.g - 1st drop down - details pertaining to the 1st option, 2nd drop down - details pertaining to the 2nd option.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm sorry I missed this! You're correct; I don't think this kind of rule works with cascading select lists. You might try contacting Atlassian support and reporting this as a technical issue; they may have more info.
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.
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.