how to call SOAP from JIRA

Rahul Sahotay June 12, 2017

Hello Team:

I'm working to integrate JIRA with SNOW tickiting tool, i found that i need to perfomr following from JIRA side. Anyone can help me where i need to call these SOAP .

 

Change issue type (subcategory) to Improvement

Set the “u_issue_type” element to one of the values of the Subcategory dropdown choices on the incident form for JIRA Issues as the category.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://www.service-now.com/u_jira">
<soapenv:Header/>
<soapenv:Body>
<u:insert>
<u_issue_number>TST-49632</u_issue_number>
<u_issue_type>Improvement</u_issue_type>
</u:insert>
</soapenv:Body>
</soapenv:Envelope>


Change Status to Closed

Send the JIRA status code in the “u_status” field. We will convert it to a ServiceNow state.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://www.service-now.com/u_jira">
<soapenv:Header/>
<soapenv:Body>
<u:insert>
<u_issue_number>TST-49632</u_issue_number>
<u_status>6</u_status>
</u:insert>
</soapenv:Body>
</soapenv:Envelope>

 

1 answer

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 12, 2017

You will need to find or write some code that can do those calls, as there's nothing in JIRA that you can use to do them.  Obviously, it'll need to go into an add-on, or you could use one of the add-ons that allows coding inside JIRA.

It's not really a JIRA question itself, but I've done it by following the basics in https://stackoverflow.com/questions/15940234/how-to-do-a-soap-web-service-call-from-java-class

The JIRA side of it is going to be more about how you get issue data and where you run the code so that the call is done when you need it.

Suggest an answer

Log in or Sign up to answer