I'm trying to display the link to jira issues in a structure board where I want the background color of the link text to vary depending on whether a specific field in the jira issue has a certain value.
I'm trying something like this:
("key" in the local variables is intended to refer to the "Key" field holding the JIRA issue ID)
WITH greenLink =
But the markup in the local variables is not picking up the "key" column...
It's probably something obvious that I do not see...
I see that you already figured out the answer for yourself. I just wanted to explain why it works that way.
When we have a variable like key, Structure will try to define it. It will try to guess what it is based on its name. Key matches the exact name of a jira field so it picks it up automatically. But if I wanted to print out "key is KEY-123" I would do it like this:
CONCAT("key is ", key)
The concat function concatenates, or adds two strings together. Here the first string is "key is " meaning this key is just treated as letters, because it is in a quoted string, while the second key is treated as a variable and pulls the key from the current issue into the formula.
I hope this helps.
We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...
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