I am using this formula for a calculated custom field (duration date calculation).
I need the number of "days" that has passed since a date. In my case the custom field "Race Handover" is a date that we insert manually, and I need to see each day, how many days have passes since the handover date.
Here is what I put in the formula:
secondsBetween(issue.get("RACE Handover"), new Date(), "days" )
But what I am getting in Jira is the duration in Weeks format
so it shows: "26 weeks"
instead I would like to get: 182 days.
I wonder if you can help me understand how to change the format of the duration from weeks to days.
Thanks.