Let's assume we have some epics E<x> and some stories S<y> linked via Epic Link ("issues in epic").
Look at some planning kanban backlog
Look at the team board's backlog
Team 1:
Team 2:
My question is: Is it possible to automate hierarchical ranking?
Example trigger:
Rank of E2 is moved up in panning kanban backlog resulting in this order:
Desired result for Team backlogs:
Team 1:
Team 2:
I know this is possible with Portfolio for Jira, but this would require to do ALL rank updates with Portfolio for Jira ... so I would be glad to find a solution to do it also for usual planning Kanban boards using Automation for Jira ...
Hi @Jogi
We ran into a similar thing and are moving to Structure for Jira for largely this reason. We found Structure to be rather more flexible as it doesn't have "preconceived notions" about how a "portfolio" should be operated. We are using Automation for Jira to set Parent task, child tasks, etc in the Structures. Additionally, it has some great JQL extensions not unlike ScriptRunner for Jira to let you query directly from the Issue Navigator or (somewhat bad practice) use these JQL extensions in the Automation Rules.
Hi @Mike Rathwell. Thank you for your answer! That means you also use an additional separated view (Structure) as we did it also (Portfolio for Jira). And here hierarchical ranking works fine.
So far so good, but I did not already get the point regarding Automation for Jira: Do you use it for "additional improvements" only or did you finally manage to enable hierarchical ranking also in usual kanban/scrum board backlogs using Automation for Jira (How to create the rule exactly? especially how to start?: I see no trigger "Rank changed" or something like this ...)?
Or: Does Structure integrate fully transparent into Jira (in contrast to portfolio), so that it does not provide a separate view, but extend existing board backlog views?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good morning @Jogi
So.... I'll start upside down with Structure... Structure does have it's own "view" but it's intuitive and straightforward to use even for someone who is Not Smart such as myself. The nice thing is that the hierarchy of issues is completely arbitrary where, for example, one user could have epics as children of tasks while another follows the traditional Jira style hierarchy just... because... and have it make sense for both of them. The nice part is that the "structure" itself is accessible rather more broadly via JQL, the "local" area of a structure that a given issue is in is presented in the issue detail view, and you can make changes to the structure either in the structure view or directly in an issue.
Where it crosses over with Automation (in our world) is that we can conditionally build/update/change structures programmatically.
Basically it doesn't feel SO much like a separate application and you can access it ranging from its own view to a variety of other means.
Regarding your question in Automation for Jira (and I am speaking about this variant on the Marketplace to be clear), there isn't a "direct" rule for "Rank changed" but would take the form of (and shaped in their GUI)
"If Issue Updated and Rank changed, do <this thing>"
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 your answer!
Yes, we are talking about the same "Automation for Jira" variant.
Unfortunately I still found no option to create a rank based trigger with this tool. There is no possibility (as far as I see) to check "Rank changed" - there is even no field rank in and of all triggers, conditions and actions ...
Most promising approach I see is this (https://docs.automationforjira.com/rule-playground/#/):
But I do not know how to express "rank changed" via JQL statement (step 2) and how to update the rank via entitiy property (step 4)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For 2.
IF: Compare two values
Check if {{#changelog.Rank}} {{fromString}} {{/}}
does not equal
{{#changelog.Rank}} {{toString}} {{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Rolf!
I'm going to try your answer for #2, and for #4 do a modified version of https://confluence.atlassian.com/jirakb/how-to-extend-automation-for-jira-with-rest-api-calls-1021217952.html to call https://docs.atlassian.com/jira-software/REST/8.3.2/#agile/1.0/issue-rankIssues
I'll post back here when (IF) I get it to work.
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.