Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,306
Community Members
 
Community Events
184
Community Groups

New to Jira - Events?

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

0 votes
Answer accepted
Peter-Dave Sheehan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 09, 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

 

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events