You'll have to excuse my ignorance, I'm still muddling my way through Jira stuff and I'm not a programmer.
As you'll see on the image I am creating an automation that should automatically transition an issue from 1 status to another after a certain duration of time. I have that occurring for 3 different status and durations. The trigger runs daily to see if any of the fields match was a variable (start date) more then 30/60/90 days and move to the appropriate status. To me everything seems logical but I am getting an error as listed below.
Error
The rule has been configured with components that require issues to be provided by the trigger. You need to use the option to run JQL to provide issues. The following components require issues: Issue condition, Transition issue
So I turn on the "Run a JQL search and execute actions for each issue in the query." check box but now it wants me to have a JQL search. What should I be searching for? I put in "Start date" != {{now}} but I'm sure thats wrong....
Hi Quinn,
The error is asking you to include a JQL rule - think of it as "Where will the automation rule be applied".
You can create a JQL query to include all projects - if the intention of this rule is supposed to be run on all Jira projects or if this automation rule is only for select projects you can specify it also in the JQL query you are going to create.
Also, I would like to ask why did you select in your "else rule" status = 30, 60 or 90 days? do you think using "start date" as the basis of the rule would be better?
Meaning instead of the rule pulling data from status - instead, it will pull data using the start date field and it will transition the issue status if it meets the criteria set.
This suggestion means that you may need to add the start date field into your project Create Custom field this also means that moving forward all issues created or even issues that have already been created you would need to edit and include and pick a Start Date so that your automation rule can include those issue moving forward.
Theodore
Gotcha on the JQL, so if I put in project = "Project Name" it will only apply to said project.
The if/else if including both the status and the duration after start date was just to ensure only the right thing moved to the right place. Start date is already a required data set in the issue creation.
Are you suggesting that I just nix the status match and just do the date certain amount of time after?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Quinn,
This is an option - but again this means that you or users should always put in value in the "start date" field so that the automation can it's own thing.
Theodore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adding on to the other answer suggested, I have a question:
What problem are you trying to solve by automatically transitioning issues based on time? That is, "why do this?" Understanding that will help the community provide better suggestions. Thanks!
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.
The time trigger is so that someone doesnt need to count the days to or remember to do the task in x number of days, rather in x number of days they are triggered with a set of to dos.
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.