Update summary when create issue

Valeria Cruz January 3, 2020

Hello!
How can I update a issue summary in create issue post function?
My summary needs to be like
issue type name + origin summary

2 answers

1 vote
Payne
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 3, 2020

You used the scriptrunner tag, so I take it that you have that add-on installed. With that, you can create a simple post function of type Script Post-Function [ScriptRunner]Custom script post-function with an inline script of:

issue.summary = issue.getIssueType().name + " " + issue.summary

jira.jpg

0 votes
Andrej Freeze _ greenique
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 3, 2020

Hello @Valeria Cruz

what Apps are you using to achieve this? This does not seem to be a default functionality.

Using the Update Issue Field Postfunction, you can simply override the summary to a static text as far as I know. For the actions you are trying to perform, you will need to take a look at one of the following Apps, but any of those should be able to achieve what you are looking for:

  1. Jira Miscellanious Workflow Extensions
  2. Automation for Jira Pro
  3. Jira Suite Uitilities
  4. Jira Workflow Toolbox

Cheers,

Andrej from greenique

Suggest an answer

Log in or Sign up to answer