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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

276 views 3 11
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