• 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
Community showcase
Published Thursday in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

397 views 1 13
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