Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,282
Community Members
 
Community Events
168
Community Groups

ScriptRunner Bahaviour error?

Dear Community,

I observe a very strange error (?) of a very simple script. 

The script (ScripRunner Behaviour) gets value from custom field "MyName" - two level cascading select.

def itSo=getFieldByName("MyName")

def itSoText=itSo.getValue().toString()

Before SR version 6.58 every change of "MyName" (level 1 or level 2) made changes in itSoText value, in version 6.58 only first level changes the value and any change in level 2 does not change anything.

Is it a ScriptRunner bug, or 'bad code'?

 

1 answer

1 accepted

2 votes
Answer accepted

Hi @Andrzej Przybylski

To answer your question, yes, this is an existing bug in ScriptRunner. 

The Bug is that it is only able to get the value from the Parent list in the Cascading Select List and the value of the Child list is not reachable.

For your reference, the Bug report number is SRJIRA-6113.

The fix for this is currently been worked on.

Thank you and Kind regards,

Ram

Thank you and kind regards, Ram!

Suggest an answer

Log in or Sign up to answer