We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi.
Is it possible to automatically close the created ticket when the status changes back to "OK"?
The text was updated successfully, but these errors were encountered:
i did it by hand, using a wrapper script.
first, you have to find transition id for closing the issue, and then do a POST with that transition id.
Sorry, something went wrong.
curl -u icinga2:icinga2sekrit https://jira.server.com/rest/api/2/issue/${issue_key}/transitions -X POST --data '{"transition": {"id":"701"}}' -H "Content-Type: application/json"
where 701 would be transition id for close issue. That might vary on your installation.
do :
curl -s -u icinga2:icinga2sekrit https://jira.server.com/rest/api/2/issue/PROJ-12345/transitions
to find out available transitions.
Should not be too hard to figure out how to implement it in php code.
you can do that using jira automation rules
onchange on icingaStatus -> close
but it must be a valid transition in your workflow
No branches or pull requests
Hi.
Is it possible to automatically close the created ticket when the status changes back to "OK"?
The text was updated successfully, but these errors were encountered: