Forums

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

Remove a label in a Transition Post Function

Chris Ramakers
Contributor
June 20, 2012

I've set up a Condition on several of my workflow transitions that require the presence of a given label so that developers cannot transition issues without giving them a certain label. Now I would like to remove that label after the transition is done. Is that possible?

I've looked at the Post Functions and can't seem to find a way to manipulate the labels of an issue.

3 answers

0 votes
hannah.brooks September 28, 2020

Hi, any update on this? It would be a really useful feature to have. Thanks.

Thorsten Letschert _Decadis AG_
Atlassian Partner
September 28, 2020

Hi @hannah.brooks ,

while there is still no out-of-the-box feature to do so, you might want to have a look at the workflow apps available on the Atlassian Marketplace: https://marketplace.atlassian.com/search?category=Workflow

Jira Workflow Toolbox being one of those can manipulate the labels field via its Update issue fields post function (https://apps.decadis.net/display/JWT/Update+issue+fields). In order to remove the label myLabel while keeping the remaining labels, you'd have to update the field with the expression

- myLabel

Disclaimer: I'm part of the team behind the aforementioned app.

Cheers
Thorsten

0 votes
Nic Brough -Adaptavist-
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.
July 25, 2018

The scripting add-ons can provide a place to write code if you don't want to write your own add-on to give you a post-function or listener to do it.  Otherwise there's nothing internal to do it.

0 votes
Arild Langtind
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 7, 2012

Did you find a solution to this?

Aleksandra Steer July 25, 2018

6 years later and same issue here. Anyone found a solution?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events