feat: filter issues by the absence of label(s)#505
Merged
ankitpokhrel merged 1 commit intoankitpokhrel:mainfrom Nov 27, 2022
Merged
feat: filter issues by the absence of label(s)#505ankitpokhrel merged 1 commit intoankitpokhrel:mainfrom
ankitpokhrel merged 1 commit intoankitpokhrel:mainfrom
Conversation
22ff823 to
18630af
Compare
Owner
ankitpokhrel
left a comment
There was a problem hiding this comment.
Hi @martinpovolny, this looks good. Could you please add a test to make sure NotIn method constructs a valid jql query?
18630af to
c72d196
Compare
Contributor
Author
|
Added the test, thx for the quick review! |
c72d196 to
38d064e
Compare
ankitpokhrel
approved these changes
Nov 27, 2022
Owner
ankitpokhrel
left a comment
There was a problem hiding this comment.
This is working great, thank you 🎉
The mix of +ve and -ve labels is working good so we can do something like the following:
// Issues with `p1` and `q1` labels that doesn't have `urgent` label
jira issue list -lp1 -lq1 -l~urgent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
you can now do e.g.
to list issues that have none of the labels above