You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi everyone,
there are many many issues (like this) in here where someone asks for example "how to create Swimlanes by Component". And yes there is a way to do it, but you have to create Query Swimlane for each Component.
So accordingly people want to have Swimlanes by Component as a predefined option like the already existing Swimlanes by Project, Assignee, ...
But then in the future someone wants to group by again something that doesn't exist as a predefined grouping option for Swimlanes.
So therefore I would propose the following feature...
I would like to have a kind of Query whos result is a string, and all the results that have the same string result will be on the same Swimlane.
So for example I take the Component value which is a string at the end, and all the cards that have the same Component string will be put on the same Swimlane.
Means I have to describe the Swimlane definition only 1 time, saying "get this and that value from the issues, and put all the cards that build the same string on the same Swimlane".
maybe building even the string like in the following (not so useful) example ...
Card.Component + "_" + Card.Priority
which could result in ...
MyComponent_high
... and all cards producing the same result will be on the same swimlane.
I hope I could somehow explain the basic idea, for details and further ideas join the discussion.
Have a great day
marco
@Manon Soubies-Camy
Thank you @Phill Fox for responding.
I'm normal developer, so I don't know if I have access to Scriptrunner or scripted fields.
I would be interested in an example Querry to see what you mean.
Regarding the sorting it would be alphabetically, just like if you would for example select to create Swimlanes by "assignee".
--marco
Hi @Marco Trosi
Here are a couple of links to answer your question
https://docs.adaptavist.com/sr4js/latest/features/script-fields (for server/DC installs)
https://docs.adaptavist.com/sr4jc/latest/features/scripted-fields (for Cloud hosted)
The essence of these are that it takes information in an issue and can join it together to then create a new field with the content. Once you have that composite content in a single field you can then use that to build your JQL query.
I would suggest your first step is to have a word with your Jira administrator to see if you have Scriptrunner installed (or possibly to acquire it if not).
Phill