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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,239 views 2 7
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