grafana / incident-community

Public repository for Grafana Incident feedback, bug reports, discussions, and updates.
26 stars 2 forks source link

Jira Integration: jira.create_issue: request failed #32

Closed raphaelquati closed 1 year ago

raphaelquati commented 1 year ago

I'm trying to set up Jira Integration to make a POC. I'm the admin of our Jira account.

After create an incident, an error occurs:

HookRun.grate.jira.createIssue: jira.create_issue: request failed. 
Please analyze the request body for more details. Status Code: 400

image

Browser: Edge 106.0.1370.52 Grafana: Cloud (v9.2.1-cab7049 (cab7049dd1))

matryer commented 1 year ago

Hey @raphaelquati thank you for reporting this. We'll look into providing a better error to start with, and we'll have a look to see what could be going on here.

paulcoghlan commented 1 year ago

Hi @raphaelquati - as @matryer mentioned we're going to improve the error reporting - meanwhile I'm wondering if this problem is due to the "Issue Type" that our Jira integration is using?

When we first released the Jira integration we created "Bug" type issues, however not everyone has this type of issue so now in the most recent release (1.0.23) we create "Task" type issues.

Would you mind re-testing and seeing if this works now?

raphaelquati commented 1 year ago

Hi @paulcoghlan, Clicking on the "refresh" button on the incident (to create the incident on Jira) does not work.

So, at the Integrations tab, I've removed the project link, and add again (now it's showing the ID of the Jira Project)

Now It's working.

Thanks

paulcoghlan commented 1 year ago

@raphaelquati - glad to hear that. Please let us know if you have any more issues or feedback.