Forums

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

Default label on bug creation?

Joel Parker February 29, 2012

We want to attach a default label whenever a Bug-type issue is created. For example, when a user creates a bug, it would have a default "needs-triage" label that would get cleared when triage happens.

How would I do something like this?

2 answers

1 accepted

0 votes
Answer accepted
Mizan
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.
March 1, 2012

Hi Joel ,

You can install the Script runner plugin and write a groovy script postfunction which will be added on the create transition.

This script postfunction will check the issue type and if its bug set the label field to "needs-triage" label.

1 vote
Maya S Chase
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.
February 29, 2012

The easy solution that occurs to me wouldn't be a label, it would be a custom field, specific to the Bug issue type (and you could set it to only specific projects, if not everyone wanted to use it). Have it default to a value like "needs triage" and then when the triage is done, they erase the field and save it, done. A checkbox or radio button would work, too, and you could add values like "needs further explanation before triage" to accomodate changes in your process.

Swapnil.Khalashe October 6, 2022

Thanks Maya. I like this approach better.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events