Search issues using pure SOAP
[email protected] Fri, 01 Jul 2011 06:08:40 CDT
| Newsgroups | gmane.comp.java.jira.user |
|---|---|
| Message-ID | <1895047.564691309518550417.JavaMail.j2ee_forums.atlassian.com@atlassian12.managed.contegix.com> |
I need to use pure SOAP in order to do some integration with Jira. The problem I have is that I can't generate correct SOAP request to search issue by a specific filter. I used WSDL to generate sample requests and used getIssuesFromTextSearch request. Here is the code:
{code}
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soap="http://soap.rpc.jira.atlassian.com">
<soapenv:Header/>
<soapenv:Body>
<soap:getIssuesFromTextSearch soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<in0 xsi:type="xsd:string">i8nn0pbo3q</in0>
<in1 xsi:type="xsd:string">reset=true&&pid=10190&customfield_10005=active</in1>
</soap:getIssuesFromTextSearch>
</soapenv:Body>
</soapenv:Envelope>
{code}
The value for searchTerm I got from the permlink of the search I made in a browser (copy-pasted everything after "?"). I also tried "pid=10190&customfield_10005=active" and "customfield_10005=active" but with no result: I was either getting empty response or wrong issues in a response.
Can anyone hint me what I did wrong and how to get the same response as I'm getting in browser?
Thanks!
--
Post by tyoma_first - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=55113
_______________________________________________
Jira-user mailing list
[email protected]
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user