Setting Cascade Select value of CustomField via SOAP API V 3.1

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

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

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" };

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

158 views 5 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you