Forums

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

Trigger ScriptRunner behaviour by AJS field value change

Ulrich Huber July 19, 2022

Hi everybody,

I´m setting values with AJS in a CREATE ISSUE dialog.
Fields (Text single line) are set and values are shown in frontend.

These changes trigger ScriptRunner behaviours but without my set value.
Does anyone has an idea what to do that value is used by SR?

When changing the field manually after AJS setting the value is used correct by behaviour script.

AJS.$('#customfield_99999').val("my value");

I logged the value in my Jira app log and value is empty.
Changing the value in form (add a space) the value is shown in log.

Regards

Uli

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events