Update summary with JIRA issue key when the issue is created

I need to have the issue key in the end of summary when a issue is created.

Have tried to do this with an Post function on the transaction to open issue.

But I don't find documentation of available variables to use.

Tried following: The Summary of the issue will be set to issue.summary + issue.key.

But it did not work. Any tips?

We are using Cloud version of JIRA.

1 answer

Hi Jan,

<productPitch>

This is exactly the kind of use case we built ScriptRunner for JIRA Cloud for. Use the modify issue post function with the following code:

issueInput.fields.summary = "${issue.summary} ${issue.key}"

Any issue fields can be read or set in this way not just the system fields.

</productPitch>

Regards,

Jon

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,175 views 13 19
Join discussion

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