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
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Improve user experience across Jira with global settings
Learn how to set up and configure a Jira site, manage Jira permissions, and configure Jira apps and integrations.
Learning Path
Streamline projects across Jira with shared configurations
Build Jira work items with reusable configurations called schemes, and reduce administrative work with automation.
Learning Path
Become an effective Jira software project admin
Set up software projects and configure tools and agile boards to meet your team's needs.