New to Jira - Events?

CJ_Marchand
Contributor
May 9, 2023

Hello everyone.

New to Jira/Jira Admin but have an extensive background in coding.

I have a user that would like to have a text box populated when someone picks a value from a picker field when creating an issue.

First up I am used to event driven web sites where each control has events you can code against.  I am not seeing this in Jira.  

Can anyone point me to docs/tutorials on how to get access to events?  I created some code and placed it in a custom script field but do not know how to link this code to an evert to fire it off.  

Thanks,

cj

 

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
PD Sheehan
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.
May 9, 2023

You seem to be talking about browser-side events like what might exist in a javascript layer.

And Jira/Atlassian doesn't really offer a good way to tie into those.

But you posted your question in the Adaptavist group with the adaptavist-server tag, so would it be safe to assume you have Scriptrunner at your disposal?

If so, what you are describing can be achieved with the "behaviours" functionality of scriptrunner wich you can find more details about here: https://docs.adaptavist.com/sr4js/latest/features/behaviours

CJ_Marchand
Contributor
May 10, 2023

 

Peter,

Yes, I am trying to get a handle on ScriptRunner and the Jira Object Model.

I am looking at Behaviors now.  Also looking at listeners to see where they fit in.

 

Thanks for your help.

Peter

TAGS
AUG Leaders

Atlassian Community Events