-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finding Jira's issue should be optional #1
Comments
according the Jira API docs you must provide one or more issue keys (min value 1). I have not tried to use the API without an issue key, but based on the docs, it sounds like this would result in an API failure. So not sure we can make this optional unless it is supported by Jira.
perhaps if no issue number is found, the plugin should exit with a warning message and a zero exit code, which would prevent the overall pipeline from failing? |
any update on this issue, I have the same problem and I can't find a solution. it would be great to exit without errors on pipeline. any workaround? |
The workaround that we ended up is to ignore failures on this particular step, using Maybe that helps someone :) |
I had already implemented your suggestion here, but thank you very much. |
Sometimes, during the flow, we do not reference any Jira's issue. So, when that happens, the plugin breaks the pipeline.
What if finding Jira's issue would be optional?
drone-jira/plugin/plugin.go
Line 82 in 898ec6b
The text was updated successfully, but these errors were encountered: