Hello,
I am trying to write a formula for Structures that will display the Status of the issue, color-coded to a yellow background, but only under specific circumstances.
I need the field to display as blank in all cases, unless the issue Status is set to "Done" and the Documentation Status (this is a custom field) is empty.
Currently, I have:
if (status.category = "done" and documentation.status = "null", "empty",
WITH format(text, color) = """:panel[${text}]{backgroundColor=${color}}""" :
Case(documentation.status,
"null", "empty", format(status, "#FFFF00")))
This is resulting in the column displaying the status of the issue color-coded to a yellow background (fantastic!), but it is displaying for every issue, not exclusively the ones that also have a blank value for Documentation Status.
FWIW, I am using the Markdown format.