Setting Cascade Select value of CustomField via SOAP API V 3.1

Makarand Keer November 22, 2013

We are having JIRA 3.1* and it has Cascade Select custom attirbute.

How can I set value for such field via SOAP API (v 3.1). We are using WSDL at

rpc/soap/jirasoapservice-v2?wsdl

Thanks

Makarand

2 answers

0 votes
Makarand Keer November 24, 2013

That trick indeed worked !!! Thanks a lot.

Here is how I used it

RemoteFieldValue[] updatedFields = new RemoteFieldValue[2];

updatedFields[0] = new RemoteFieldValue();

updatedFields[0].id = "customfield_11480";

updatedFields[0].values = new string[] { "18170" };

updatedFields[1] = new RemoteFieldValue();

updatedFields[1].id = "customfield_11480:1";

updatedFields[1].values = new string[] { "18190" };

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
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 22, 2013

Not sure where this is referenced anymore, but the trick is to reference the first value of the cascade select normally using the field id and the second value using the field id followed by :1

Suggest an answer

Log in or Sign up to answer