Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Behaviour groovy script fails to grab single select custom field value by change

Mohammad RahmaniNasab
Contributor
August 29, 2023


Hi,

When I'm trying to grab a single select custom field value when it changes in scriptrunner behaviours, as it is demonstrated in attached image, changing the value of field in form doesn't trigger this behaviour.

This exact behaviour was working properly until last Jira DC update.

I wonder if any one has faced same issue ? any suggestions could be helpful.Untitled sc.png

2 answers

0 votes
Mohammad RahmaniNasab
Contributor
September 18, 2023

how can I escalate this question?

0 votes
Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 29, 2023

Have you verified if it works on other fields? Which versions, and which field type is it?

Some fields (e.g. cascading) have some trouble getting picked up by behaviours, but frankly I can't remember by heart which ones they were, or whether it had anything to do with versions. I recall perhaps components or fixversions being icky at times, but that's just my gut, I don't remember. Anyway could test locally to confirm if nothing comes out.

Mohammad RahmaniNasab
Contributor
August 29, 2023

Hi @Radek Dostál 

Yes I tried and it works properly for other fields, and also this exact code was working till now.

It's a cascading field and just don't get the value of field "when it's changed", other things are OK.

thanks for your response anyway.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events