Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Error when posting to JIRA via Rest API

Deleted user November 26, 2018

Hey,

I have built a bi-directional sync from Cherwell to Jira to create incidents and then comments back and forth between the systems.  All working well but I now randomly have an error ONLY when posting a comment from the web portal side of Cherwell.  If I used the installed client the comments from Cherwell go straight through.  When I try and add a comment from the portal though I see the following error..

 

You sent: 

{"body":Cherwell Comment: why am I seeing this?"

}

 

And Jira replied 

HTTP Error Code 503

:

Service Unavailable

The server is currently unable to handle the request due to a temporary overloading or maintenance of the the server.

 

Yet if I go into the Cherwell Client and press 'Add Comment to Jira' it works.  It runs the same one-step, makes the same call to Jira using the same POST..

Every other part of the integration works fine, creating the incident, getting a comment from Jira.. but sending the comment to Jira is tanking.

 I have this endpoint setup in the POST;

rest/api/2/issue/{IssueKey}/comment

In the web services method I am setting the value of the IssueKey as the value in cherwell being incident.Jira Issue Key.  I know this isn't the issue as it runs perfectly from the local installed client.

The push to the web hosted Jira instance is the issue.. .only for comments.. not for creating the issue.

Does ring any bells with anyone?


Thanks

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events