Add a text in field "description", if type of created task is "bug"

Hello.

How i can add a text in field "description", if type of created task is "bug".

We need it only for 1 type os tasks.

3 answers

0 vote
Tarun Sapra Community Champion Aug 22, 2016

Hello @zakirov_em

Default values for system fields isn't supported in JIRA, please see here - https://jira.atlassian.com/browse/JRA-4812

But this functionality can be achieved using plugins like Script Runner.

Please see here - https://confluence.atlassian.com/jira/setting-a-default-value-in-the-description-field-166003857.html 

And this discussion https://answers.atlassian.com/questions/24654632

 

You can do this with JJUPIN, it's a very simple thing.

You have to create a small script that watches over the issue type and the description and sets the value of the second one from the first one.

A similar example, but with some other fields is here: https://confluence.kepler-rominfo.com/display/TR/Default+values+of+%28system%29+fields+on+create+screen

 

Hope this helps,

Alexandra 

This can also be accomplished with java scripts embedded in the description fields of a custom field. (mentioned here https://confluence.atlassian.com/jira/fields-allowing-custom-html-or-javascript-224401453.html )

Be aware that it might break while upgrading to a new JIRA version, so these customizations will always have to be rigorously documented and maintained when servers are overhauled for one or more reasons.

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...

763 views 2 19
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