Hi,
what is the correct syntax to define multi level select list custom field value in create issue request directly in soapUI? I used results from getIssue method:
<customFieldValues xsi:type="ns2:RemoteCustomFieldValue"> <customfieldId xsi:type="xsd:string">customfield_10243</customfieldId> <key xsi:type="xsd:string" xsi:nil="true"/> <values soapenc:arrayType="xsd:string[1]" xsi:type="soapenc:Array"> <values xsi:type="xsd:string">KC Hradec Kralove</values> </values> </customFieldValues> <customFieldValues xsi:type="ns2:RemoteCustomFieldValue"> <customfieldId xsi:type="xsd:string">customfield_10243</customfieldId> <key xsi:type="xsd:string">1</key> <values soapenc:arrayType="xsd:string[1]" xsi:type="soapenc:Array"> <values xsi:type="xsd:string">Dvur Kralove</values> </values> </customFieldValues>
but in create it returns exception:
<soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>com.atlassian.jira.rpc.exception.RemoteValidationException: {customfield_10243=Value: 'Dvur Kralove' is an invalid Option} : []</faultstring> <detail> <com.atlassian.jira.rpc.exception.RemoteValidationException xsi:type="ns1:RemoteValidationException" xmlns:ns1="http://exception.rpc.jira.atlassian.com"/> <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">WV420035</ns2:hostname> </detail> </soapenv:Fault>
Problem solved, documentation is casual. As value for parent and child must be an option ID used, not string name representation.
I'm stuck with this same error (for a custom cascading select).
Could you explain how you did it in more detail? What does your final XML look like?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.