Add field values to description when Create linked issue

Hi,

We are creating linked issues through the "Create linked issue" options under "More". I would like to add some custom fields in the description. For example, we have a field for the merchant to enter a number, and I would like for this number to be included in the description, so that we do not have to paste it in manually. 

1 answer

Hi @Henriette Bossen,

One way of adding field values during the create transition is to use an add-on like Power Scripts.

Luckily enough, there's a short video tutorial that walks you through how to set this up generally.

And here's the sample code that was used, but feel free to customize to your needs:

string steps;

steps = "The following steps must occur in order to complete this task:\n";
steps += "# Make an Observation. Scientists are naturally curious about the world. ...\n";
steps += "# Form a Question. After making an interesting observation, a scientific mind itches to find out more about it. ...\n";
steps += "# Form a Hypothesis based on " + customfield_1234 + "\n";
steps += "# Conduct an Experiment. " + customfield_5678 + "\n";
steps += "# Analyse the Data and Draw a Conclusion.\n";

desc = steps;

Hope that helps!

Thanks,
Johnson

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

791 views 5 7
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