• Community
  • Products
  • Jira Software
  • 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.

Kasturi Hariharasubramanian November 19, 2012

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 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 20, 2012

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

Kasturi Hariharasubramanian November 28, 2012

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?

Kasturi Hariharasubramanian November 28, 2012

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.

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 28, 2012

That probably explains. Any reason to turn it off?

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 28, 2012

I am not sure. Hopefully someone can help here.

Suggest an answer

Log in or Sign up to answer