• Community
  • Products
  • Jira
  • Questions
  • We user JIRA 4.4.3 and when i create an Issue in JIRA using the CreateIssue Soap API, the incident is successfully created in JIRA, but it does not give the Issue number as the reponse.

We user JIRA 4.4.3 and when i create an Issue in JIRA using the CreateIssue Soap API, the incident is successfully created in JIRA, but it does not give the Issue number as the reponse.

Request XML:

<?xml version="1.0" encoding="UTF-8"?>
<createIssue xmlns="http://soap.rpc.jira.atlassian.com">
<in0 xmlns="">Kv3ksVJx2Q</in0>
<in1 xmlns="">
<id xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<affectsVersions xmlns:p1="http://hawk:8080/rpc/soap/jirasoapservice-v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" xsi:type="p1:ArrayOf_tns1_RemoteVersion"/>
<assignee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<attachmentNames xmlns:p1="http://hawk:8080/rpc/soap/jirasoapservice-v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" xsi:type="p1:ArrayOf_xsd_string"/>
<components xmlns:p1="http://hawk:8080/rpc/soap/jirasoapservice-v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" xsi:type="p1:ArrayOf_tns1_RemoteComponent"/>
<created xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<customFieldValues xmlns:p1="http://hawk:8080/rpc/soap/jirasoapservice-v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" xsi:type="p1:ArrayOf_tns1_RemoteCustomFieldValue"/>
<description xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<duedate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<fixVersions xmlns:p1="http://hawk:8080/rpc/soap/jirasoapservice-v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" xsi:type="p1:ArrayOf_tns1_RemoteVersion"/>
<key xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<priority>3</priority>
<project>RN</project>
<reporter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<resolution xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<status xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<summary>This is test subject by Integration point</summary>
<type>5</type>
<updated xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<votes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
</in1>
</createIssue>

Response from JIRA:

<?xml version="1.0" encoding="UTF-8"?>
- <ns1:createIssueResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://soap.rpc.jira.atlassian.com" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<createIssueReturn href="#id0"/>
</ns1:createIssueResponse>

1 answer

0 vote

It is supposed to return the RemoteIssue in the response. Any error in JIRA logs?

I just wanted to test it out without multiref.. I am not sure why i do not get response with multiref turned on. I get response for other API calls though with miltiref turned on- getIssue and getComment but not for CreateIssue. Do you have any solution for this?

No error in the issue log. Multiref is enabled in the server. When i turned off multiref, i get response with issue number and other details of the issue.

That probably explains. Any reason to turn it off?

I am not sure. Hopefully someone can help here.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,338 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot