Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Question around setting up JIRA boards based on multiple projects and multiple labels

Abhiram July 10, 2018

Hi Guys,

Here is my scenario. 

I have 2 projects in JIRA. I have used 2 labels. Label1 in project 1 and label 2 in project 2. 

However, I realised that label2 is already used by some other project in JIRA. 

I have setup a Scrum board where my filter is the below: 

project in ("project 1", "project 1") AND labels = label1 OR labels = label2 ORDER BY Rank ASC

This now returns issuetypes of other projects as well in the board. 

Is there a way to limit this query to return only the issues from 2 projects? 

2 answers

2 votes
Ollie Guan
Community Champion
July 10, 2018

Hi @Abhiram,

(Project = project 1 and labels = label1) or (Project = project 2 and labels = label2)

Abhiram July 10, 2018

Co-incidence... Thanks @Ollie Guan

Cheers. 

1 vote
Abhiram July 10, 2018

I think I have figured it out myself. Here is the updated query. 

project in ("project 1", "project 1") AND (labels = label1 OR labels = label2) ORDER BY Rank ASC

 

Cheers,

Abhiram

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events