Forums

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

Stop persistent description when switching Issue Types

Season Hughes November 15, 2019

Our admins have set up a default description when creating a Bug. But when you switch to any other issue type, the Bug description remains.

Is there a way for the description to clear when switching from a Bug to a different issue type?

Bug default description:

bug.PNG
Description persists when switching to a Story:

story.PNG

2 answers

1 accepted

1 vote
Answer accepted
DPKJ
Community Champion
November 15, 2019

@Season Hughes 

Here are some points,

  • As much as I know, you can't put default value for description field in Jira by default.
  • Therefore, your admin might have added some hack (based on JS or using plugins like ScriptRunner)
  • So, the best way to resolve this is to ask your admin to fix script he created to handle this case.
1 vote
Matthew Clark
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.
November 16, 2019

I suspect that your Jira admin has a Scriptrunner behaviour defined that is setting the default description when the issue type is set to "Bug".

You can ask your Jira admin to add a condition to the behaviour that sets the description to blank when you change to another Issue Type.

The drawback is that if anyone enters additional text into the "Bug" description and accidentally changes the issue type, they will lose whatever they entered.

We show how to use behaviours to set default descriptions here

And you can add detection for issue types with the conditions shown here

Suggest an answer

Log in or Sign up to answer