Skip to content

How to exclude multiple status values when listing issues? #159

Closed Answered by ankitpokhrel
anatoly-scherbakov asked this question in Q&A
Discussion options

You must be logged in to vote

The status option only accepts a single value at the moment. However, you can use a raw query to achieve what you want.

// All issues except the one in `Done` and  `Open`
$ jira issue list -q "status not in (Done, Open)"

TBH, I think it would be nice if status would accept multiple status. I am open for discussion (and a PR :) ) on that part.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by anatoly-scherbakov
Comment options

You must be logged in to vote
1 reply
@anatoly-scherbakov
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants