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

Tips for copying scripted fields

Hi all, just looking for tips

I have several scripted fields I pass into a template for an official form. I want to get these fields copied without having to do some extra step (pass through a transition, do an update to trigger the listener). The 2 major plugins I'm using are Scriptrunner and BigTemplate.

 



Things I keep running into-

-Scripted fields have not loaded yet if I try to trigger the copy listener on issue creation
-Fast-tracking an issue through another transition using a post function leads to the same issue as above where the fast tracked transition is part of the issue creation transition and the scripted fields are not loaded yet

-I haven't figured out a way to get this functionality to work in behaviours as of yet

 

 

 

Things I've gotten working-
-If the issue is updated after creation, the copy function works well and scripted fields are read

-If I place post functions in a transition and have people manually transition the issue, no issues

 

 

The goal was to get it so when someone creates the issue, they can just click the template button in order to check their work. Right now the only way I can get this done is by asking users to add in a minor update to trigger the listener such as a description field with an extra space, or transition the issue through a loop to trigger the post functions.

Any help would be appreciated, this problem has been bugging me for a week now

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events