I'm running data center and am trying using a sil script in a workflow validation r=to access the 2 fields in a cascading custom field that I have.
If my custom cascading field is customfield_1, i set things up like this since I read that it should create an array of strings
string [] x = getInput("customfield_1");
but when I reference the elements of array x using arrayGetElement(x,0); I'm getting this string {null=test, 1=testc}, where test is the high level field and testc is the 2nd tier field of the cascading, and array element 1 is empty. I was hoping to have element 0 contain test and element 1 contain testc. Am I doing something wrong, and what's the best way to be able to get to the 2nd tier field so I can do comparisons on it?
I'm also seeing that if I initially don't have a 2nd tier field select when my transition screen comes up and I add a value in the transition screen that getInput isn't recognizing that change, it still says my array size is 1 vs the 2 it should be. but if I go into the transition screen with both cascade fields selected then the array size does show as 2. Not sure what's going on there, I thought the getInput was a fix for the problem of not getting the input entered in the transition screen.
Thanks,
Jay
HI @Jay Keck @Vijaya Pazhamalai ,
I could see the cascading field working on my side as expected.
Can you please raise a support ticket with so we can work with you to find the issue you are facing? https://marketplace.atlassian.com/apps/43318/power-scripts-jira-workflow-automation?tab=support&hosting=datacenter
here I am sharing the screen capture showing the value that the getInput captures.
Hi @Jay Keck
I am facing this issue right now. Could you please tell me if you were able to get this fixed?
Thanks,
Vijaya P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!
Start here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.