Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Copying Values from Parent to linked children

We have version Power Scripts  I used the example they have online 


/*Call this script from a workflow transition post-function.It will set the fields to the value of the matching field in the parent issue.*/ if(isNotNull(parent)) {         summary = %parent%.summary;    description = %parent%.description;    dueDate = %parent%.dueDate;}


However this does not work for me, I keep getting an error (the check fails)

Is there a way you can see what the error is?  I added the post function to the linked that correct?

2 answers

0 votes
Curt Holley Community Leader Jul 21, 2020

Can't you just use the standard  Post - Function "Copy Value From Other Field" for this? (no code required)

You could also use Automation for Jira to do it (if on Cloud) again (no code required)…..not sure about Power Scripts, as I've never used it.

0 votes

Hello @Nannette Mori ,

I tried your code it worked fine in my Jira instance.

If the check fails, there is a red cross on the line. If you hover on the red cross, you will have a detailed message of the error.

Could you paste a screenshot with the error?

I can't use the standard Post - Function "Copy Value from other Field because the parameters don't work because the parameters available don't work for our customized Hierarchy,

When I click on Check next to the Check button it says 1 error found but there is no red cross on the line.  There is no detailed message of the error.

I did find this error in the Console

SIL Pogram >>null<<parse exception:lexical error at line at line 8,column 6 encounted:<EOF>after:""

Our power Script version is

Jira Software Version is 8.6.1

If you run it in console, you need to provide the issue key in the Run Configuration dialog screen:

Screenshot 2020-07-22 at 16.34.36.png

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Automation

Announcing the Jira automation template library!

Hi all,  After many months of work, I am delighted to announce the launch of the Jira Automation Template Library!  The Template Library is a new website dedicated to all things Jira au...

998 views 17 26
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you