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,


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.




Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

504 views 1 18
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