Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add comment template while closing issue

tarakeswar_dubey February 5, 2019

Requirement: Add comment (template) when user closing a issue

Conditions: Resolution should be 'Fixed'

Template: 'Some data as template'

Behavior/ScriptRunner installed.

1 answer

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 7, 2019

Hello,

To set the Resolution you can either set the default value of the resolution to Fixed so that if another resolution is needed the user has the option to change it or if you want to verify the field is always set as "Fixed" add a "Update Issue Field" Post Function on the transition to set the resolution to that value when the closed transition is executed.

As for a template on the comment check out the Adaptavist ScriptRunner document on Template Comments

Regards,
Earl

Suggest an answer

Log in or Sign up to answer