I would like to create a formula column in Structure which filters for all issues which have a specific label. E.g. if I search for "Apples" it should find all issues where one of the labels is "Apples", e.g. "Apples, Oranges", "Apples, Pears", and "Apples".
I only manage to create a formula which finds issues where the only label is "Apples", but not issues which contain other labels as well.
Any suggestions which formula to use?
The simplest approach here would be
IF (SEARCH("Apples", labels) AND !SEARCH(",", labels), "Only apples")
Here it takes advantage of the fact that 0 and undefined are considered false value, so !SEARCH(",", labels) returns 1 if there are no commas in labels string, which means there is only one or no lables at all, for any number it will return 0.
Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events