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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.