- 
 
 - 
  Notifications
 
You must be signed in to change notification settings  - Fork 6.2k
 
add/remove label on kanban column change #28745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
 
 
 
 KlavsKlavsen
 
 
 
 commented
 Jan 11, 2024 
 
 
 
We understand that this will need some adjustments to get merged - but I hope you'll work with us on what to improve - so we can get this feature merged to the benefit of everyone :)
Did not look into much code but I think only adding one label may be not enough. And adding n labels per column needs a different backend structure.
 
 
 
 KlavsKlavsen
 
 
 
 commented
 Jan 12, 2024 
 
 
 
we add 1 label per column - and remove "the other column labels" - when you switch issue to new column. That way you can search for ALL issues in a certain column (like 'ready' - or what states you want to use for your kanban columns)
We use this for several things - and also the fact that we now get notifications - means our webhook informs when someone moves issues around in kanban
I understand that, but other people may want to add two labels when moving an item. And that would need a totaly different backend structure. Just don't want to see code for just one label merged just to get replaced some weeks later with code for multiple labels.
 
 
 
 KlavsKlavsen
 
 
 
 commented
 Jan 12, 2024 
 
 
 
Having 2 labels for one state (column) - would seem a very odd requirement. Building the generic "do anything" - someone else did a PR for - but we were not able to make it work - so we opted for the simpler option that IMHO would fit the needs of many.
Later - if someone has the skills and time - I do agree that the "custom" - do any action on kanban column switch feature - should be developed.. But that does not remove the value of the "simple and enough for most usecases" option. - which will be simpler to enable.
would seem a very odd requirement
Column Testing could add test/ui and test/backend to trigger two different groups of people to do something. I don't think that's an odd requirement.
290ecde to
 6685e2a  
 Compare
 
 There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only one label is allowed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And migrations are necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We did not see the relevance to assign more than 1 label on column change. see just above where I explained it :)
#28745 (comment) 
 
 
 
 GelbEinhalb
 
 
 
 commented
 Oct 22, 2025 
 
 
 
any updates on this?
I would like this one could be replaced by #30205
Uh oh!
There was an error while loading. Please reload this page.
add/remove label on kanban column change
the idea is each column in a kanban can have a labelId attached to it
and everytime an issue is moved to a new column that label is added to the issue(and the other label attached is removed)
this does not affect other labels that may be present in the issue
resolves #26704
Screencast.from.09-01-24.webm
PR sponsored by Obmondo.com