The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events