Forums

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

How do i automate the description of a story of a particular epic?

Chris808 September 9, 2022

I would like to put a template into the description section of all stories created that are connected to a specific Epic. 

 

Thank you.

2 answers

0 votes
Patrik Korovsky
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.
September 9, 2022

Hi @Chris808

Wouldn't this simple automation work for you, or did I misunderstand your request?

automation.png

0 votes
Florian Bonniec
Community Champion
September 9, 2022

Hi @Chris808 

You can set an automation that will set the Description at creation if the Epic Link value is the Epic you want and the description empty.

 

If you want to have it displayed before creation in the creation screen you will need an app, Scriptrunner.

 

https://scriptrunner.adaptavist.com/5.6.8/jira/behaviours-overview.html

 

Your use case is the first example in the page.

 

Regards

Chris808 September 9, 2022

Hi Florian, 

Thank you for the help, unfortunately I don't have access to behaviours in my version, only automation. 

Florian Bonniec
Community Champion
September 9, 2022

The automation solution will not works on the create screen, so it's porbably not what you are looking for.

You should be able to do it adding javascript within the field description in a configuration field. This is not recommanded and reauired to write javascript to do that.

 

Regards

Suggest an answer

Log in or Sign up to answer