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,458,249
Community Members
 
Community Events
176
Community Groups

Script runner- run a 'VersionCreateEvent' script by another script listener

Hello,

I have a script listener- custom listener (issue updated event) that adds a new version.

I have a different script- Version synchroniser , that works by 'VersionCreateEvent' event.

The first script didn't call the second script.

Can I add some line that will call the second script from the end of the first script ?

 

It's a little bit urgent so I will be happy for your response.

Thank you,

Daniel

1 answer

1 accepted

0 votes
Answer accepted

I tried this inside a listener and it worked:

if (flag==true)

{ versionManager.createVersion(versionp, null , null, null, projectPatch, null); //PR project versionManager.createVersion(versionp, null , null, null, 11901, null); //wbl project versionManager.createVersion(versionp, null , null, null, 11503, null); //RB project versionManager.createVersion(versionp, null , null, null, 12900, null); //RM project versionManager.createVersion(versionp, null , null, null, 13100, null); //Technical B project versionManager.createVersion(versionp, null , null, null, 12300, null); //Test B project versionManager.createVersion(versionp, null , null, null, 11900, null); //wsi project }

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events