summary value should be change by given issue type in jira

vasanth April 1, 2021

Hi team 

need a help on creating a

Summary value should be change by given issue type in Jira. Summary it consists  type of  issue type must be include  .

example like 

Project name: Jira Test

Key  :JT

Issue type :Story, Bug, 

while  creating any issue type need to be in summary like this  " JT-1 Story, JT-2 Story, JT-3 Bug. JT-4 Bug"

 

can you please help on this any one,

 

Thank you

7 answers

1 vote
David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 1, 2021

Hi @vasanth ,

using JMWE, you can add a Set Field Value post-function on the Create transition, with this configuration:

  • Field: Summary
  • Value Type: Constant or Groovy Template
  • Value:
${issue.key} ${issue.get("issuetype").name}
1 vote
vasanth April 1, 2021

Thank you @

 

I will try this approach 

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 1, 2021

For both of those, you would add a Post Function on the Create transition. Following the guidance of the app for syntax. I do not use ScriptRunner so I wouldn't be help there, but support from other app would be able to guide you. 

0 votes
vasanth April 1, 2021

Hi @John Funk 

can you please  let me know how it works in JMWE,ScriptRunner

 

Thank you

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 1, 2021

Sure - I would use Automation For Jira then. 

Create a rule based on Issue Created

Then add a New Action for Edit Issue

Select the Summary field

Then paste this in the field: {{issue.key}} {{issue.issuetype.name}}

See if that works for you.  :-)

0 votes
vasanth April 1, 2021

Hi @John Funk 

thank you for the response .

yes , I have these three .

can you please assist me how to use .

 

Thank you

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 1, 2021

Hi Vasanth,

You can do that using an add-on like Automation For Jira or JMWE or ScriptRunner. Do you have any of those? 

Suggest an answer

Log in or Sign up to answer