Do not fail when jira issue list
finds nothing
#634
Unanswered
olivergondza
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using jira-cli for scripting. When
jira issue list --jql
finds 0 issues, it issues an error message and exit code1
.They both can be ignored, of course, though I would like to distinguish an empty result list (an ok condition for my use-case) from an actual error with the command invocation (that too fails with exit code
1
).I am not sure what consequences would it have to change the behavior for existing clients. Alternatively, an extra flag of
--fail-if-nothing-found=false
would come in handy.Beta Was this translation helpful? Give feedback.
All reactions