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,556,161
Community Members
 
Community Events
184
Community Groups

Getting keypress event from Actor in automation

Gauthier Gaukel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 05, 2023

Greetings,

At the moment, I'm writing a script, which restricts which use can be selected as an Actor.  My idea is to get all users from the specified group and delete the result which came when a users type something in the input field. Now, I have the problem that I am not able to get the keypress event (or change) from the select field. I wrote sth. like that.

let input = "#react-select-4-input";
        $(input).change(function (e) {
            e.preventDefault();
            checkUser(userList1);
            checkUser(userList2);
            console.warn("changes found");
        });
Has somebody any idea?

1 answer

0 votes
Ken McClean
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 08, 2023

Rather than trying to delete things as users write them, why not just run a check on the selection? i.e. user selects an actor you don't want to be selected, the script flags this selection and makes them pick a new one.

Suggest an answer

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

Atlassian Community Events