Confluence 6.1.2
Jira 7.3.3
I have created a custom field with Kepler scripted SIL to return either Acceptable or Unacceptable, each colored green or red depending on outcome. E.g.
//Evaluation
number score=#{Initial Risk Evaluation Score};
string riskStatus;
if ((score >= 0 ) && (score < 8)) {
riskStatus = "{color:green} Acceptable {color}";
}
else {
riskStatus = "{color:red} Not Acceptable {color}";
}
return riskStatus;
I have set the field configuration to Wiki style renderer, and this shows ok in the Jira issue, and in jira issue search.
However, I also need these fields to be part of a table in Confluence using Jira Issues Macro. When I display this custom field in a table, I simply get the plain text, e.g. color:red} Not Acceptable {color}
Can you please help?
Thanks
Al