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,554,883
Community Members
 
Community Events
184
Community Groups

Javascript event on Asset multiple selection

I'm trying to work out a jquery script that occurs when an asset multi-select field has changed.  I've managed to get the script to execute when values are populated in the field based on the "change" event, but my issue lies in when values are removed.  What event is used when you clear some selections?

2 answers

1 accepted

2 votes
Answer accepted

I figured out how to do it.  I added a content trigger on the select id to tell me when the options had changed.

1 vote
Kai Sören Becker
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.
Apr 12, 2023

Hi @Ariel Mears 

what are you trying to achieve with your script? Could you give some more background information? It's usually not the best idea, to build logic into Jira with custom javascript.

I'm utilizing what options that are selected in the asset field to help drive the approvers field.  Unless you have other ideas on how to achieve this?  I know I can do this with a post function but what options are there when you just edit the issue?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.2
TAGS
AUG Leaders

Atlassian Community Events