Hi,
i am setting up an IF statement for flagging tickets in a column in a structure.
If the labels field contains BLOCKED i need the word BLOCK in red.
This works BUT
- if only label BLOCKED is there ==> works
- if >1 label is there (including a BLOCKED) it does not work the IF statement
How can i solve this ?
thanks for assist
Els
Hello @Els Vercauteren
Setting the labels=xxx condition will only work when there is only one Label in an issue indeed. Using search("blocked", labels) instead should help.
Please feel free to reach out directly at support.almworks.com if you need our assistance with anything else.
Best regards,
Stepan Kholodov
ALM Works
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Extra question
Can i change the smiley to a icon green flag and the blocked to icon red flag ?
And is an icon bomb also available ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can find the list of built-in emojis at the text formatting notation help page (at the bottom of it). You can also use your own images and include them in the formula by their URLs if needed.
Best regards,
Stepan Kholodov
ALM Works
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Els Vercauteren You have to use match function for this :-
https://wiki.almworks.com/display/structure050/Expr+Pattern+Matching
if(match(labels;"BLOCKED")
Similar Post :- https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Need-help-evaluating-Labels-column-in-Formula/qaq-p/1395516
Thanks
V.Y
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I adjusted it but it still gives the ELSE part for the example below :-(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.