• Community
  • Products
  • Jira
  • Questions
  • All i want to do is add default content in the description field for when i create an issue type of bug for any project.

All i want to do is add default content in the description field for when i create an issue type of bug for any project.

For example I want the following to appear in the description field when I add an issue type of Bug to any of my projects, while all other issue types should remain as the default for description field of blank.

*Steps to Replicate;*

Step 1:

Step 2:

*Result of above steps:*

*Expected Result:*

Thanks

Shane

3 answers

So in effect it cannot be done easily from the user interface, you need to write some javascript to get it put in there is that correct?

Thanks Harry,

If i did not need to decipher between bugs and just wanted to make the blanket change, how could I do this without using javascript.

Cheers

Shane

Since you need to determine if it's a bug or not and not simply apply it to all cases, you'll need Javascript.

Hi Shane,

If you want to avoid Javascript I would avoid the Description field. It isn't a customfield and doesn't allow setting default value as such.

You can create a custom field to do this instead. Give it a different name and add it to the screens. Otherwise Javascript would be the closest option.

Thanks All,

I will try using a custom field instead and see how that goes.

Regards

Shane

Hi Shane,

you can use Post Function on transition to update Description field value, but I don't know how to demarcate only for Bugs.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,335 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot