All links to the "Syntax Help" page are broken
I am trying to create some swimlanes based on specific criteria and don't know the syntax
Hi @Chris Green,
the syntax is JQL just like in other filters. However a swimlane query acts just like a sub-filter, i.e. it is appended to the board filter when displaying issues in that swimlane.
If your board filter looks like this:
project = ABC ORDER BY RANK
For example you want to display only issues of type Bug in your swimlane. For that you set the swimlane query to:
issuetype = Bug
Regards,
Patrice
Thank you @P_D_ Foerster
I am trying to perform a '*' wildcard, 'CONTAINS', or even 'startsWith()' operation in this field, and it is not the correct syntax.
The link to the 'Syntax Help' is broken, so was wondering if there is a repository of the syntax anywhere else?
Chris Green
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Chris Green,
please check out the Jira Cloud - Advanced searching - operators reference - CONTAINS documentation. There you should find the required information :)
Cheers,
Patrice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @P_D_ Foerster
Thank you, this is more-or-less the link I was after, though "~" doesn't work when specifying swimlanes for a project.
I'll keep hunting, but it appears Atlassian doesn't want this, as they disallow everything on this field except operators like '=', '!=', '<=', '>=', etc
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Swimlane filters use the same JQL syntax all the other filters use. You will find the ~ doesn't work because the field you are trying to use it with does not support it, not that it does not work in swimlanes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nic Brough -Adaptavist-<
Thank you for clarifying that point.
In such a case, what can be used?
I have found that 'CONTAINS', 'startsWith(), '*' wildcards doesn't work in this filed, so how would I go about adding elements of the following nature to a single swimlane?
'TD - Red'
'TD - Yellow'
'TD - Green'
Where I was trying to use
CONTAINS "TD -" or
~ "TD -" or
startsWith() "TD -" or
= "TD -*"
TIA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What field are you looking at, and does that field type work with the search you are using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the JQL field for specifying swimlanes for a project, in board settings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know that, I was asking you to look at the issue field you are using ~ to search.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Assuming the field is a custom field of type "version", then yes, I'd expect that. Version custom fields do not support the ~ search. Try using "in (x,y,z)" instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.