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

How can I get keys of linked issues to custom field via automation

Hi there!

Spent a lot of hours looking for a solution, but still can't figure it out.

How can I get the keys of linked issues and put them in the custom field?

I tried to do automation with one request, which is executed every day. It works well if there is one related task. If there are several of them, the second task overwrites the field with its key. For example, I took two tasks at once in the request.


If I use lookup, then it finds all the tasks in the project, but tries to write them all in one field, which is wrong.



I am sure that the solution is somewhere close, but I cannot find it yet.
I would be very grateful if someone could help.

2 answers

1 accepted

1 vote
Answer accepted
nmenere Atlassian Team Mar 15, 2021

Hi Petr,

What issue keys are you trying display? In your example you branching on all cloned issues. Are you then trying to populate the field with all the linked issues of the original issue?

If that is the case, you should be able to use something like in the Edit issue action (no need to use advanced):


Though this doesn't filter by link type.

Hope that helps:



@nmenere Hi !
You are the best:D
I spent so much time looking for a solution, and it turned out to be one smart value.
Thanks a lot!! 
Tell me pls if there are such smart values, where can I see them?

nmenere Atlassian Team Mar 16, 2021

Ultimately we want to build a smart-values builder/autocomplete but at the moment we rely on documentation -

Like Petr likes this

Hi! Petr,

You can use smart values in the text field in this case you are already in the linked issue barch so {{issue.key}} give you the key of the issue you are editing and {{triggerIssue.key}} the key of the issue thats trigger the rule.

Captura de Pantalla 2021-03-12 a la(s) 09.39.12.png

@Juan Manuel Ibarra Hi!

Yes, I use them, but one value overwrites another. This is the whole problem.


I need two values: TAS-401 TAS-437, but every times I get 401 or 437 :( 

Perfect now I understand your problem, to append info instead of overwriting you need to use the advance field edition


This allow you to use the "add" command:


  "update": {
    "customfield_XXXXX" : [
        "add": {

No way ...5.png

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Announcing Mindville Insight is now part of Jira Service Management!

Hello Community! We’re excited to announce that Mindville Insight’s asset and configuration management capabilities will now be integrated into Jira Service Management Premium and Enterprise plan...

736 views 12 15
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