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 votes
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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,026 views 12 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot