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

Fetching custom field value from another ticket


I'm trying to edit a custom field value in a ticket through Jira Automation. As a result I want custom field value to be same as a value of another custom field in some other ticket.

can something like this work:

"fields": {
"customfield_10356": "{{issue.KEY-123.customfield_10269.value}}"

If not, what could be the solution. I would prefer a solution without buying Jira addon.

Thanks in advance for any help.

2 answers

0 votes
Ravi Sagar Community Leader May 02, 2021

Hi @Utkarsh.Jaiswal 

If those issues are linked to each other then I believe you can use the branch rule with linked issue. You can then save the value in a variable which you can later reuse in the rule. Or try {{triggerIssue.customfield_10269}} to get the value. I am quite sure one of these method should work.

Hi @Ravi Sagar 

Thanks for your reply, but the two issues are not related / linked in any way. I'm here referring to two independent issues. I believe both of your suggestions work only for linked issues.

Ravi Sagar Community Leader May 03, 2021

Yes you need to use links for this to work. You can't use smart values to fetch values of issues by using hard coded issue keys.

However if are not using the issue links then another solution would be to make a web request using Automation. In response to a web request you will get a json data containing that issue's data which you can use in your rule using a smart value {{webhookResponse}}

I have explained how to make REST calls here if you want to take that route but I still think using issue links will be much simpler and easy to maintain solution.

While I was write I realised that you can also use branch rule to run JQL based on that issue key and use a variable to store the value, basically you need some way to reach that issue to fetch its fields.

I hope it helps.


Like Utkarsh.Jaiswal likes this

Thanks Ravi! You are right. I needed to create that link to get the values from another ticket. Your advise helped me to find the solution. I used 'Lookup Issues' to get the ticket using JQL query. I could then fetch the details (summary) using below Json:

However, there is a limitation as we can only fetch limited fields value. For example, custom fields value cannot be fetched.

I think you are close, but it should just be this:

 issue.update(fields={'customfield_13090': '64'})

if this doesn't work, I believe an alternate specify solution would be:

 issue.update(fields={'customfield_13090': [{'value':'64'}]})

This is just based on my research on configuring/updating JIRA searches.



Thanks Russel, but your solution does not get the value of a field from another issue (XYZ-2) and assign the value to a field in current issue (XYZ-1). The two issues are not linked.

Suggest an answer

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

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

846 views 30 33
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