Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,081
Community Members
 
Community Events
176
Community Groups

Feature Request - Swimlanes by String

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 

1 comment

Phill Fox Community Leader May 04, 2022

@Marco Trosi 

You could achieve this already with a relatively straightforward workaround. Although it would require you to use a plugin to create a hidden calculated field. 

For full disclosure I work for Adaptavist and so my go to tool of choice is Scriptrunner but there are other options out there. 

By creating a scripted field (or alternatively a listener for updates) you can store any combination of fields to then use in your swimlane JQL. 

As your example would have a reasonably low combination of settings (say 10 components and 5 priorities) the number of swimlanes should be easily manageable. However I would question how would you order these swimlanes? By priority or by component? And what happens if a ticket relates to more than one component? 

 

Hope this helps you with your current challenges but agree with you a more flexible approach to determining swimlanes would be beneficial. 

 

Phill

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

Phill Fox Community Leader May 19, 2022

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

Comment

Log in or Sign up to comment