• 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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

546 views 6 12
Read article

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