The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new 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
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 Champions.
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

TAGS
AUG Leaders

Atlassian Community Events