Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 9 Next »

On this page


Field configuration

Before starting the field configuration, please follow the instructions for creating custom fields: Create a Custom Field

Step 1: Set a name and description

Provide a good name for the new custom field. Make it descriptive, concise, and easy to understand for others who will use it. Avoid using ambiguous or overly technical terms.

Step 2: Setup color and size

Set a color for the field and set different colors for your value.

Step 3 (optional): Set dependent due date

Select an issue's date field that serves as the due date representation.


Field view and edit

The time range is displayed in days (d), hours (h) and minutes (min). A negative value indicates that the task is overdue based on the configured due date.


Related Use Cases

More use cases are coming soon. In the meantime, check out our other use cases.


Jira Service Management (JSM)

The Time in status field is currently not available for Jira Service Management.


JQL expression

The Due Date Countdown field can be accessed like this.

${fieldName}.Time left: number

Find further information here https://support.atlassian.com/jira-software-cloud/docs/find-specific-issues/

Example: perform a search for all issues with a due date set within the next 10 days (= 864,000,000 milli seconds).

"Due date countdown.Time left" < 864000000

Data Structure (Automation)

To ensure accurate calculations, it's essential to set both the impact and urgency values when configuring the priority. Failure to do so may result in inadvertent overwriting of value during recalculation processes.

To set the value via automation, you need to at least set the dueDate value. timeLeft and formattedTimeRange are set on the next rendering step in the issue view

{
  "dueDate": Date,
  "timeLeft": number,
  "formattedTimeRange": string
}

Example: assume today is the 14th December 2023, the dueDate is the 24th December 2023.

timeLeft is the difference from those two dates in milliseconds, the formattedTimeRange is a formatted representation of that range.

{
  "dueDate": "2023-12-24T10:38+0100",
  "timeLeft": 863952646,
  "formattedTimeRange": "09d 23h 59min"
}
  • No labels