Automatically remove labels

Hi,

As part of using JIRA, we use the labels to help us track certain issues (i.e. which issues developers are currently working on, which JIRAs are coming up, etc). When the JIRA gets closed, we need to manually remove the label first before closing otherwise we are not able to remove the label.

I see that there is an option to allow editing of issues in final state, however, the ideal solution would be to allow for a 'macro' to run to automatically remove a label when it gets closed.

Does anyone know if this is possible?

Thanks in advance!

3 answers

1 accepted

Hi Scott,

what you wish to archieve is acutally possible. All you have to do is add a postfunction to your Jira workflow, which will clear your label field when the close transition is launched.

However, you will have to decide if you want to write your own custom plugin to archive this function, or if you want to use an already existing plugin, which will provide such a function (As far as I know, the ScriptRunner plugin might just do it)

Hi Marten,

Thanks for the suggestion, the ScriptRunner looks to be very powerful that is able to do this. I actually had another think about this and I decided to create a custom field that represented my labels, then I used the JIRA Suite Utilities plugin to clear this field when required

As the script runner is for download instances only: has anyone implemented this on an on-demand instance already?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

42 views 0 4
Read article

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