• 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 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 Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

685 views 6 13
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