Need help with JQL query to configure JIRA board swimlane as per Initiative issue type

Avinash Kumar March 8, 2024

Hi guys,

I am using Jira cloud and I have one requirement where I need to configure Jira board swimlane as per Initiative issue type. I understand, this option is not available at this point of time in Jira. So, I am writing as many JQL queries as the number of Initiatives. But in this case also, hierarchy is not coming.

In the swimlane, only Initiative is displaying. Epic(under that Initiative) and Story(under the Epic) are displaying in Everything Else swimlane.

can you please help me with the solution ?

I am writing the JQL as -> Issuekey = jira id for the Initiative.

I am expecting that, one Initiative swimlane should be displayed and epic and story should be displayed in that swimlane under the initiative.

** I don't have the automation enabled in my organization for Project Admin role so, I cann't explore the option with Automation feature.

Thanks

2 answers

0 votes
Charlotte Santos -Appfire-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 8, 2024

Hi @Avinash Kumar 

I’m Charlotte, a support engineer at Appfire and I’m here to help you.

Unfortunately, using vanilla JQL, you’ll not be able to do it dynamically.

In the app where my team works, JQL Search Extensions for Jira, you can use this query to get all initiatives and their children:

issue in childrenOfIssuesInQueryRecursive("type=Initiative", 1) OR issue in parentsOfIssuesInQueryRecursive("type=Epic")

If you prefer to do get only the children of one Initiative in particular, you can use this one:

issue in childrenOfIssuesInQueryRecursive("key=INT-1")

Then, to use it in the swimlanes, you can save the query as a filter and use the function filter = “filter name”.

Please contact our support if you have any other questions about this query.

We’ll be happy to help you!

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 8, 2024

Hi @Avinash Kumar 

No, this will not work. The JQL is just mentioning the issuekey that's all. There are no relations on that in relation to swim lanes.

You could set your JQL like this: "Parent Link" = SAN-4 or "Epic Link" = SAN-3

So this is an example based on the Epic is linked to the Initiative based on the parent field and is will now show the Epic under the land and based on Epic Link in JQL, als the related stories to the Epic.

 

 

Avinash Kumar March 8, 2024

Thanks for speedy response @Marc - Devoteam . But the JQL you suggested is still not giving me the Initiative based swim lane. It is just arranging epic and stories in one swimlane. But that swimlane is not coming as Initiative based.

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 8, 2024

Hi @Avinash Kumar 

There is no initiative based swim lan like a swim lane based on Epic.

This does not exist and can't be made.

The fact you see the Epic and Story in the same lane is about the JQL. This has based the swim lane on the Initiative issue.

As in my example this is SAN-4

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events