Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
510 views
in Technique[技术] by (71.8m points)

jql - Separating our JIRA Kanban Boards

I have a question on separating our JIRA Boards. Please see below.

Data Management Kanban Board

project = WFDM4 ORDER BY cf[10005] ASC
352 Issues

Data Landscape Kanban Board

project = WFDM4 AND labels in (dl_board) ORDER BY priority DESC, updated DESC
1 Issues

How can I edit the JQL for Data Management Kanban Board to separate the JIRA Kanban Boards? Attempt:

project = WFDM4 AND labels not in  (dl_board) ORDER BY priority DESC, updated DESC
259 Issues

There seem to be some missing issues in the new JQL since it is only returning 259 Issues. I would like these Kanban Boards to be completely separate.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Maybe the problem is because there are some issues without any labels. When an issue has no label, all comparsions returns false, even when the comparsion is an negation.

Try this:

project = WFDM4 AND (
   (labels is empty)
   OR (labels not in (dl_board) )
ORDER BY ...

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...