Skip to content
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

New feature request: add downtimes from a jira ticket #138

Open
sciolto opened this issue May 21, 2024 · 3 comments
Open

New feature request: add downtimes from a jira ticket #138

sciolto opened this issue May 21, 2024 · 3 comments

Comments

@sciolto
Copy link

sciolto commented May 21, 2024

We would like to be able to add downtimes from a Jira ticket, leveraging the same mechanism that allows ticket comments to appear a comments on the icinga host/service.

@nilmerg
Copy link
Member

nilmerg commented Jun 10, 2024

Hi Oreste,

the ticket comments you are referring to, are created on Jira itself. In a ticket's detail in Icinga Web, these comments are fetched from the Jira API to show them.

Downtimes on the other hand are created on Icinga Web. There's no possibility (security measures prevent this) to create such from within Jira.

The only viable solution would be to directly link to the form to schedule a downtime. But this is redundant, as tickets already contain a link back to Icinga Web where the user can schedule a downtime.

At the moment, I don't think we can fulfill this request.

@sciolto
Copy link
Author

sciolto commented Aug 26, 2024

Hi @nilmerg,
OK, I understand the security measure: the icinga2 API is not reachable from outside.
What if we had some exposed API that could handle the internal communication with the schedule-downtime endpoint ?

Maybe the jira plugin could implement a configurable hook for the different events happening on the ticket ?

Thanks
Oreste

@uzoiso
Copy link

uzoiso commented Dec 5, 2024

Hi @sciolto ,
i think that could be the way. what we just need from the JIRA plugin is to read extra customer fields like downtime start/end like it does already with icingaKey, icingaStatus and the comments. but we need a trigger to do this (like every xx min during the workours)...
in our case we have a lot of, more or less regulary, downtimes for updates on hundrets of devices. And we have allready an JIRA calender (dashboard) with all this maintainance information.
would be great to see if this could work...
thanks
Gerfried

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants