Forums

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

Making your CQL Field available more then once

lukas June 19, 2018

Most of the CQL-Fields can only be chosen once and you won't be able to select two filters of the same field-type.

The label field is an exception, you can choose as many of those as you want.

Is it possible to make your own CQL-Field being chosen more than once too?

Greets,
Lukas

1 answer

0 votes
Moses Thomas
Community Champion
June 19, 2018

@lukasCould you give a sample  query  using label ,  that  allows you to  choose as many  as you  want ?

lukas June 19, 2018

LabelFilters.PNG

In the picture you can see that I added two label filters. 
I couldn't find anything in the documentation or source code which allows my customized field to be chosen twice too. 

Moses Thomas
Community Champion
June 19, 2018

@lukasBecause only label has this feature,   this will  be done by development. but there is whole stack of  documentation on CQL field module and more!

https://developer.atlassian.com/server/confluence/cql-field-module/ 

 

Best!.

lukas June 20, 2018

@Moses Thomas

Hi Moses, 
Thanky you for the answer. 
I used this and other documentation for my field and included ui-support too. 

But for now the user has to type the query with && and i think it would be much easier if he could just put two filters. 

As of now i couldn't find a hint on how to enable this either in the documentation or the confluence source code. 

Also in the ui-support, by pressing white space it automatically creates a second query in the field input, which then doesnt behave as one long string. 

Greets,
Lukas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events