Step 2 - Ticket D is assigned master priority 1, and the other tickets automatically bump down as follows:
I tried the automation above, but it only bumps down Ticket A and not the others. The result looks like this:
I also tried using a "lookup issues" action, but it didn't work at all.
Help!
First thing: what problem are you trying to solve by doing this? That is, "why" do this?
The built-in capabilities for ordering / re-ordering issues with the Rank field work well, although they do not provide a 1-to-N numbering.
Back to your question...
IMHO, a rule to handle a scenario like this is theoretically possible, and may not be practical.
Let's assume your goal is:
Your first idea of using a branch looks correct, and perhaps add to the JQL a condition to only grab issues where their Master Priority is >= the trigger issue value. That will eliminate the need for the rule condition comparing to the trigger issue's Master Priority.
Some challenges with a rule like this are:
Kind regards,
Bill
Thanks Bill, this is helpful. My team tried using Jira's built-in ranking, but it wasn't intuitive when moving across columns. Also, we'd like the ranking to be visible. The ranking will be contained on a single board in a single project and will be applied to 25-50 tickets at a time (not every ticket in the project). If I can get this automation to work, I'll use a similar one to cover when a master priority is deleted.
I'll try adjusting the jql as you described and see if it works. How do I include the trigger issue's master priority value in the jql? Is it something like this?
project = "Feature Quest" and issuetype = "New Feature" and {{issue.Master Priority}} >= {{triggerIssue.Master Priority}}
Thanks again!
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 JQL you already have, please try:
AND "Master Priority" >= {{triggerIssue.Master Priority}}
But before you do that, please check a couple of things...
Confirm that field name in JQL, perhaps with a test query outside of the rule in View All Issues.
Next, smart values are name, spacing, and case-sensitive. And, the smart values sometimes do not match the displayed field name on the Jira issue views. Please confirm your smart value (or the custom field id) using this how-to article:
https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
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.
Awesome; I am glad to learn that helped!
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.