Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Adding default content in description field

Hi there,

I want to know if it's possible to add custom content/text and that text will load automatically in the description field when I click on create issue button.

The reason behind that, we need to make such a template for the reporter to fill the issue and to meet DoR.

Please check this attachment https://prnt.sc/swke6b to see what I mean.

Any suggestions to solve my issue are welcome 

2 comments

@Moe Abdulrahim Do you have Script Runner in your instance? You can use it to set up a Behavior or Script Fragment to achieve what you are trying to do. 

A non add-on option is to update the Field Configuration for your project to add a description to the field where you could place the helpful "tooltips" to filling out the field.

Thanks @Stephen Crandell I will check that and let you know if it works

John Funk Community Leader Jun 09, 2020

Hi Moe - Welcome to the Atlassian Community!

Is the content dynamic? Or the same information each time?

@John Funk Same information each time and reporter can edit them manually. 

John Funk Community Leader Jun 09, 2020

The problem comes in that if you set the content at create, it will override anything that the reporter typed in during the create process. The reporter would be able to edit it after they create it though.

If that is okay, you can create a post function on the Create transition of the workflow to set the field value. 

Or you could create an Automation For Jira rule that sets the value of the Description field after the issue is created. The user would need to do a physical refresh of the screen to see it immediately after the create in that case. 

The content is editorial and the reporter can delete/change it while writing the issue. but what I'm looking for is something with no need to refresh. so reporter click on create button then the default content will be shown in the description field

John Funk Community Leader Jun 10, 2020

Sounds like you will need ScriptRunner for that. 

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Confluence

👁‍🗨 Confluence Team planning dashboard_Atlympics 🌈

Hi Atlassian's, How is your journey with #Atlympics 2021 so far....excited! Me too, same excitement. Here's my typical team planning and vision dashboard which I used to share to my management and ...

78 views 1 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you