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

Add ReopenDuration handling: otherwise Jira issue is never reopened #61

Merged
merged 2 commits into from
Mar 5, 2021

Conversation

sirmax123
Copy link
Contributor

No description provided.

Signed-off-by: Max Mazur <sirmax123@gmail.com>
Copy link
Member

@erdii erdii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing!

I actually had this in my jiralert.yaml

  # Amount of time after being closed that an issue should be reopened, after which, a new issue is created.
  # Optional (default: always reopen)
  # 😡 ACTUALLY the default is: 0d -> always create new issue
  reopen_duration: 30d

<3 this!

@erdii erdii merged commit 3dc9b30 into prometheus-community:master Mar 5, 2021
@dj-holgie
Copy link
Contributor

So is there a clean way to completely disable reopening tickets now?

We group alerts only on alertname and job but not on hostname and don´t want reopening.

0h or leaving the parameter completly out is not allowed anymore, I tried with 1s that seemed to work but wouldnt it be clearer to have a option for disabling it?

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

Successfully merging this pull request may close these issues.

4 participants