Hi, I can't figure out what I'm missing. I want to see the field data (due dates) in the column but then the over due, approaching and missing due dates to be highlighted.
This is what I have so far but it's incorrect. I'm struggling to show the date in the column.
IF dueDate < today(): ":panel{color=white backgroundColor = red}"
ELSE IF DAYS_BETWEEN(today(), dueDate) <= 7: ":panel{color = red backgroundColor=orange}"
ELSE: ":panel[Needs Due Date]{color=blue}"
Hi @emma.caddow
welcome to the community!
If you're open to solutions from the Atlassian Marketplace, I think you'd like the app that my team and I are working on, JXL for Jira.
JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you’d do in e.g. Excel or Google Sheets. It also comes with a range of advanced features, including support for conditional formatting.
With conditional formatting, you can define conditions on your issues, and if these conditions are fulfilled, set the background and text color of either the entire row, or specific cells, like e.g. so:
This is really just one example - you have full control over the conditions and colors you want to use.
Conditional formatting also works great in combination with JXL's other advanced features, such as (configurable) issue hierarchies, issue grouping by any issue field(s), or sum-ups.
Any questions just let me know,
Best,
Hannes
Hi @emma.caddow
welcome to the Atlassian Community.
Can you please elaborate where you're adding this code?
IF dueDate < today(): ":panel{color=white backgroundColor = red}"
ELSE IF DAYS_BETWEEN(today(), dueDate) <= 7: ":panel{color = red backgroundColor=orange}"
ELSE: ":panel[Needs Due Date]{color=blue}"
I'd be interested into learning where you can add this - and could possibly help displaying the value. Or was this only an example how you'd like to have it formatted?
I've recently attended an Atlassian Community Event where they've presented the app Awesome Custom Fields. If you're also fine with app solutions, I'm quite confident this app easily allows to do that.
Cheers,
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's in the formula column on Structure
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for providing the context. I've found this documentation page quite helpful. It says, it follows this pattern:
:panel[text]{color=white backgroundColor=green}
So, I think, you've only missed the text in the square brackets and should alter it to something like this:
IF dueDate < today(): ":panel[dueDate]{color=white backgroundColor = red}"
ELSE IF DAYS_BETWEEN(today(), dueDate) <= 7: ":panel[dueDate]{color = red backgroundColor=orange}"
ELSE: ":panel[Needs Due Date]{color=blue}"
If the date is not in the format, you'd like it to have, you could also use the FORMAT_DATETIME function as documented here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome @emma.caddow
You should be creating card colors that are based on queries. So:
duedate < now()
due <= "7d"
due is EMPTY
The additional changes like card being whole colored by native Jira is not possible without installing the app.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.