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
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

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
AUG Leaders

Atlassian Community Events