How to update a triggerIssue field ? Edited


I would like to set value of the custom field "test" of my issue trigger

I did that but I have a SyntaxError

"fields": {
"{{triggerIssue.Test}}" : "Test"

STEP 1 : I use a recursive function to get alla the issue linked...and it works

SPET 2 : I want to put the custom field value the a linked issue to my trigger issue...doen't work  

Could you help me please ?


1 answer

0 vote
Scott Harwood Community Champion Jan 24, 2018

Hi Oliver,


What type of custom field is the field "Test"? You need to not be on a branch, and use this syntax:


      "fields": {

          "Test": "My value"



Hello Scott.

Test is a text custom field

I would like to put the value of the issue linked to my trigger issue. Something like that :

"fields": {
"{{triggerIssue.fields.Test}}" : {{issue.fields.Test}}

Scott Harwood Community Champion Jan 28, 2018

Hi Oliver,

Doing this isn't that robust as you may have multiple issue links, which have different values. If you can guarantee you only have one issue link you can get rid of the branch, and simple choose the text custom field from the field picker and enter this.


Let me know if that works for you.

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published Feb 23, 2018 in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

318 views 2 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot