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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

81 views 0 1
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