How to add Swimlanes showing tickets of other Jira Service management project in Jira boards
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
A swimlane is a horizontal grouping of issues on a board. You can use swimlanes to help you categorize issues based on request types, assignees or queries.
You must be a Jira admin, project admin or board admin to create swimlanes.
In Jira Service Management, you can use JQL (Jira Query Language) to customize your board's swimlanes to display issues from multiple projects. To achieve this, you need to configure your board's swimlanes using JQL queries.
Environment
Jira Cloud
Solution
Here's a step-by-step guide on how to add swimlanes to show issues from other projects:
Navigate to Your Board:
Go to the board you want to configure. You can find it under the "Boards" menu in the main navigation.
Board Settings:
Click on the "… More" button (three dots) in the top right corner of the board, and then select "Configure Boards"
Swimlanes:
In the board settings, go to the "Swimlanes" tab.
Create New Swimlane:
Here, you can create new swimlanes based on JQL queries.
Define Swimlane JQL:
For each swimlane you want to add, click on "Add Swimlane" and provide a name for the swimlane.
In the JQL field, enter a JQL query that includes issues from the other projects you want to display.
For example, if you want to create a swimlane for issues from a specific project, say "PROJ", you can use a JQL query like:
project = 1234 (Project ID)
- Get all projects: Use the endpoint {baseUrl} /rest/api/3/project to retrieve a list of all projects. This will include the project IDs
Option 1
To fetch the project ID, you can use this URL: https://<site_name>.atlassian.et/rest/api/3/project on your browser, which would list all projects, including all the project IDs. Then use the project name to search for the corresponding ID
OR
Option 2
You can obtain the project ID via the REST API by accessing the following URL:
<JIRA_BASE_URL>/rest/api/latest/project/<project_key>
This will provide all of the metadata for the project(s), including the project ID value, as shown in the example of output below (the project ID is 10000 in the example below):
"expand": "description,lead,url,projectKeys",
"self": "<JIRA_BASE_URL>/rest/api/latest/project/10000",
"id": "10000",
"key": "SCRUM",
"description": "",
If you want to create a swimlane that shows issues from multiple projects, you can use:
project in (1234, 6789)
Additionally, if you want to filter issues based on more specific criteria, you can add conditions to the JQL. For instance, to show only open issues from "PROJ", you could use:
project =1234 AND status in (Open, "In Progress")
Save the Configuration:
After entering the JQL for each swimlane, make sure to save your changes.
- Click on Go to Boards
- Select the option Group By: Queries
Was this helpful?
Still need help?
The Atlassian Community is here for you.
Ask the Community