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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,922 views 2 7
Join discussion

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