Hello,
I would like to create a custom field that says how many days have past since a specific date. i.e., if I insert 3/25/24, it would display "4 days". It has been four days since 3/25/24
Is this possible? I would like to add it at the global level. BTW, I am not tech savvy at all so if this is possible, please explain it to me like I'm a child. :)
Thank you
I removed your other question as it was a duplicate of this one :)
---
This is possible, but a few questions first...
Ste
Thank you for removing, I thought it duplicated but couldnt find it.
Could I enter a date as the trigger? The custom field is "Date of Last Visit", so I would enter March 20th, 2024 but instead of showing me the date, it showed me a number of days as in 9.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You'd need to enter that date somewhere - so either...
I'll detail below the steps to do this, including the prerequisites. There are a few options included so let me know if you have any questions.
Prerequisites
You'll need to add a custom field to put the result of the comparison into. You can either use a...
To create the Custom Field at a global level, you'll need to be a Jira Product Admin, and then...
For option (1) we'll also need a second date field. You can use these instructions to create this (eg. Date Compare) - but in step (3) use the field type "Date Picker" instead.
---
We'll then need the Custom Field ID(s) for the date field(s), which are used in the Automation Rules.
---
For this example rule, I'm not adding the fields to a Screen - but it is possible to do this. You would need to do this for the "Date Compare" field at least.
See the Notes section below for more information.
Rule Option 1 - Date Fields
If you intend to compare two date fields, use this option.
To create a global rule, you will need to be a Jira Product Admin, and then...
Then the rule will look like this...
Rule Option 2 - Scheduled
If you intend instead to schedule this rule, you could do this instead. This option does not require a second date field, and could be run once a day to continuously count up the days across multiple issues simultaneously.
Notes
Lots to digest here!
Let us know your thoughts, and if you have any questions :)
Ste
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.