Forums

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

Using 2 labels in a swimlane

Kristen Hausfeld
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 29, 2019

Hi - I am trying to add two labels to filter this swimlane query but every time I add "AND Review" (in bold below), I get the Error message.  Part of the issue is that "Review" does not show in the dropdown list of Labels to choose from yet it is a configured label with global rights.  Any help would be appreciated! 

Category = XYZ AND project in (DCPS) AND issuetype in standardIssueTypes() AND (resolution is EMPTY OR resolution not in (Cancelled, Duplicate)) AND labels = Tooling AND Review ORDER BY Rank ASC

Error in the JQL Query: Expecting operator but got 'ORDER'. The valid operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN', 'IS' and 'IS NOT'. (line 1, character 184)

1 answer

1 vote
Deleted user May 29, 2019

Try this instead:

labels in (Tooling, Review) if it's either/or

or

labels = Tooling AND labels = Review if both are required

Kristen Hausfeld
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 29, 2019

The second one worked, much appreciated!  

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events