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,455,373
Community Members
 
Community Events
175
Community Groups

Configuring Swim Lanes based on EPIC label but also displaying subtasks

Hey All,

 

Hoping you can help me find a solution. My employer won't buy any plugins so I'm hoping for a clever way to get the view I need.

We recently switched from a Scrum board to a Kanban board, we are focusing on the batches of work that we bring across our boards rather than the individual subtasks that make them up (coding, testing etc). 

We are also using "Classes Of Service", namely "Expedite,  Fixed Date, Standard, Intangible". These labels are set an an Epic level, this was easy to display on our Kanban board through configured swim lanes as follows:

issueFunction in issuesInEpics("labels in (Expedite)") or labels in (Expedite)

ATM we only view Stories so the above works fine, but the team want to see the subtasks on the Kanban board directly, if we click on the ticket the subtasks are listed in the right pane but this isn't great for a stand up, the team would find it easier to see what status each individual subtask is in on the Kanban board, "In Development", "In Review" etc.

 

However, as soon as I change my board sub-filter to allow subtasktypes() in, my swim lanes disappear, I imagine because the subtasks are not directly associated with the labels as per the grandparent (EPIC). Is there any way I can inherit this label down so that it can make my swim lanes work again?

 

Thanks.

 

 

 

2 answers

1 accepted

1 vote
Answer accepted
Pramodh M Community Leader Jan 26, 2022

Hi @keith kennedy 

Include the Project filter to restrict that to a project(s) and for displaying sub-tasks your filter should contain a way to include the sub-tasks returned by the epics labeled as Expedite.

Don't change the sub-filter for now, first of all, your board should contain issues to sub-tasks which is not happening by looking at JQL you have.

Hope this is clear!!

Thanks,
Pramodh

Thanks Pramodh, really appreciate your help.

 

Atm my board filter is like so:

project in ("My Project") ORDER BY Rank ASC

 

My sub filter is like so:

type in (Task, Incident, Bug) or (type in (Story) and labels in (Another_Team))

(As I'm not showing my teams Stories on the Kanban board, I'll only show them when they are from our sister team, my team is using Tasks with subtasks)

And my swim lanes are configured like so:

issueFunction in issuesInEpics("labels in (Expedite)") or labels in (Expedite)

 

If I leave it like the above my swim lanes work fine but there are no subtasks on my Kanban board view. If I add subtasktypes() to the subquery above the subtasks appear but my swim lanes disappear.

 

So I think you are suggesting to remove my subquery and make sure that the types of items I want are pulled in from the board query, something like this?

project in ("My Project") ORDER BY Rank ASC and type in (Task, Incident, Bug, Stories, subtasktypes())

 

or are you suggesting I try to bring the epic labels into play in the main board query, something like this?

 

project in ("My Project") AND type in (Task, Incident, Bug, subTaskIssueTypes()) OR type in (Story) AND labels in (Another_Team) AND (issueFunction in issuesInEpics("labels in (Intangible,intangible)") OR labels in (Intangible, intangible) or issueFunction in issuesInEpics("labels in (Expedite,expedite)") or labels in (Expedite,expedite) or issueFunction in issuesInEpics("duedate is not empty") or duedate is not empty or labels in (FixedDate,fixeddate,fixedDate,Fixeddate) or issueFunction in issuesInEpics("labels in (FixedDate,fixeddate,fixedDate,Fixeddate)") or issueFunction in issuesInEpics("labels in (Standard,standard)") or labels in (Standard,standard)) ORDER BY issuetype DESC, summary ASC

 

I've tried both of the above but still no sign of my swim lanes.

 

Thanks again.

Hi Keith, To your original question, I think there is no way to inherit the label. Once you bulk update the label for sub-tasks, you shall be able to see them in appropriate swim lanes.

Thanks for the replies all, very helpful. In the end it turned out we did have scriptrunner which I obviously hadn't realised so I was able to do the following:

 

issueFunction in issuesInEpics("labels in (Expedite,expedite)") or labels in (Expedite,expedite) or issueFunction in subtasksOf("labels in (Expedite,expedite) or issueFunction in issuesInEpics('labels in (Expedite,expedite)')")

 

In other words give me a list of all the tickets that have an Epic with the correct label and also embed the issuesInEpics within the subtasksOf function to display all of the subtasks, this worked.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events