I am using the "Cascading select" custom field, but when trying to parse the data to another field (summary) it pulls more than just the values. This is the string that appears in teh sumary field...
CustomFieldParams: Class / Model. Params: {null=[Monitor], 1=[17" TFT]}.
Is it possible to pull just the vlaues Monitor + 17" TFT from this string?
(I am using JIRA 4.2)
Thanks
To get the first component (class) use: value.getFirstValueForKey(null)
To get the second (model): value.getFirstValueForKey("1")
To get the first component (class) use: value.getFirstValueForKey(null)
To get the second (model): value.getFirstValueForKey("1")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Dieter, but how do I use that in the context of "Copy parsed text to a selected custom field."
Is it %{10096.getFirstValueForKey("1")} where 10096 is the custom field id? or am I barking up the worng tree?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmmm, didn't know that you use this plugin. My answer is better suited for a groovy workflow post function.
Could that also be an option for you?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.