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
Community Members
Community Events
Community Groups

Group story with sub-tasks in swimlanes

Hello All,

One of our users raised an interesting query about a Sprint board, more precisely if there's any way that in the board's settings > Swimlanes, without changin the setting from Queries, can we group the Stories with their associated sub-tasks.

For example, if on the Swimlanes, we leave the "Base Swimlanes on" option to "Stories", the board will show Stories, with their associated sub-tasks. However, we would like that the option be set to Queries, but also show the Stories and their sub-tasks.

So, this:

JiraQueries_Swimlanes.png..would need to be turned into this:

JiraSwimlanes_Default.png..without changing the "Base Swimlanes on" from Queries.

Is that possible in any way?


Thank you,


4 answers

Bottom line up front:  scriptrunner and

issuetype = Problem or issueFunction in subtasksOf("issuetype in (problem)")




I had a similar problem that I solved over this past 24h with scriptrunner

Our teams work on Incidents, Problems and then Project Work and then OKR work.

I tried setting swimlanes to 'Queries' and entering the swimlane JQL as 'issuetype = Incident', 'issuetype = Problem' but found that out-of-the-box (no plugins/apps) wouldn't group sub-tasks in the relevant swimlanes;  they went into a swimlane by itself.

The proposed solutions her at the Community was to do something using workflow transitions and populate the labels field and then have the swimlanes JQL say something like 'issuetype = Incident or labels = 'Subtask:Incident'' but that seemed ugly

Then I turned to our scriptrunner plugin and this worked perfectly:

issuetype = Problem or issueFunction in subtasksOf("issuetype in (problem)")

Problem solved :)

I hope I'm not disturbing etiquette with a graveyard post. How was the first image @Razvan Radulescu posted achieved?

That's exactly the configuration I'm trying to set up (sub-tasks within the same swimlane as parent issue types) but no luck so far.

I understand there are plugins to achieve it but the team won't go for a paid option, unfortunately.

Thanks in advanced

@David Marshall No plugins needed here. You have to go in the board's settings and do something like this:


Like # people like this

Thank you for your reply, Nic!

0 votes

I'm afraid not, because JIRA can't know how to group things for swimlanes if outside the "story + subtask" concept.  What would happen if you put in a swimlane like "issue is in subtasktypes()"?  Or even "component = X" - it can't group the subtasks under stories if you try to define swimlanes with these.

Sorry to hijack this post. I'm grouping my swimlanes on stories. But the board (Active Sprint), still shows structure similar to "no swimlanes". Is there anything else that have to be set?


I'm having the same problem Nestaa.

@Nic Brough _Adaptavist_ is there an improvement ongoing to this topic? When do we expect to have this functionality? 

You should not be "expecting" to have this.  It's still a logical impossibility given the shape of the data, as I explained above.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you