Open avdeev-a opened 1 year ago
I am also having issues getting Jiralert to auto_resolve a ticket.
I am having the same issue. Anyone got this working?
With exact error as @avdeev-a
yes auto_resolve works here, one thing which is a bit tricky you have to define a transition and not a state see atl docs here
As far for the error
does not exist or no transition possible
it gets generated from reopen and resolving issues. I can confirm that the global flag reopen disabled works here fine.
Please check the transition naming in you jira. In my case it was reopen_state: "Reopen Issue" https://{myOrg}.atlassian.net//rest/api/2/issue/{issueId}/transitions
Hello team , I use jiralert with docker-compose and here is my config:
Based on this configuration service should not try to reopen tickets because of
--reopen-tickets=false
key but I still see this attempts in log file:ts=2023-06-26T22:21:52.147Z caller=dispatch.go:352 level=error component=dispatcher msg="Notify for alerts failed" num_alerts=2 err="jira/webhook[0]: notify retry canceled due to unrecoverable error after 1 attempts: unexpected status code 400: http://jiralert:9097/alert: {\"Error\":true,\"Status\":400,\"Message\":\"JIRA state \\\"Open\\\" does not exist or no transition possible for TASK-842\"}"
. And one additional thing: it's seems like auto_resolve option not work as well. As you can see in my configuration this option is present but the tickets are still in the open state (with RESOLVED at the title).I would be really appreciate for any help.