how to call SOAP from JIRA Edited

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

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,741 views 17 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you