Clear "Description" Auto-Fill Text on Selection of a Different Issue Type

We have a template to auto-fill the "Description" field when the issue type being created is a "Bug". It is working as expected, when we click "Create" to create a new ticket and select "Bug" as the issue type, the text loads in the description field.

However, if the last issue created was a "Bug" and I want to create a different issue type, when I click "Create" to create the new ticket it will pre-load the "Issue Type" field as "Bug" because this was the last issue type created, and then even selecting another issue type in the menu ("Task" for example), it won't automatically clear the "Description" field.

Is there a way to clear the "Description" field on selection of a different issue type? I'm not using behaviors, my changes are all in the description-edit.vm file.

1 answer

0 vote
Christoph Thomas Community Champion Jul 21, 2017

Fabio - have you ever tried Power Scripts for JIRA? You can work with the Live Fields functions there to easily set fields in JIRA instead of doing things which might be lost during your next JIRA update...

https://marketplace.atlassian.com/plugins/com.keplerrominfo.jira.plugins.jjupin/server/overview

Cheers

Christoph

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

221 views 1 18
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