RAG - status traffic light
Return a traffic light based on the current date and the due date of the work item.
🔴⚪️⚪️ - the work item is in the “To Do” status category
⚪️🟡⚪️ - the work item is in the “In Progress” status category
⚪️⚪️🟢 - the work item is in the “Done” status category
Configuration
Create a Custom smart text fields and use the General parsing mode.
Expression
%{%{issue.status.category} = "To Do" ? "🔴⚪️⚪️" :
( %{issue.status.category} = "In Progress" ? "⚪️🟡⚪️" :
( %{issue.status.category} = "Done" ? "⚪️⚪️🟢" :
"⚪️⚪️⚪️" ))}
Instead of status category you can insert any field you want using the Add field picker.
