Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,475
Community Members
 
Community Events
176
Community Groups

How to calculate days from card creation to completed

Hi,

 

I'm looking for a way to identify the number of days between card creation and the due date complete. I'd like to put this in an email report which I already have automated.

 

I've gotten as far as setting a custom field to set the date to "now" when a card is completed, but I can't seem to make any math of it and the creation date.

 

Am I missing something here? Do I need to convert the dates to numbers? and if so, could someone please help me with that part as well :)

 

Thanks

1 answer

1 accepted

0 votes
Answer accepted
milynnus Rising Star Dec 01, 2022

Thanks @milynnus , however, I still have the issue of capturing that number without it updating.

 

For example, a card was created on 1/1/2022 and the due date was checked (and therefore completed) on 2/1/2022. How can I measure the time between those 2 dates expressed in days?

 

I've tried subtracting the creation date from a custom field that marks the date to "now" when the due date is checked off:

{{%Project Complete Date}} - {{cardcreationdate}}

 

But that doesn't work.

 

Alternatively, I've tried setting that custom field to {cardagedays}, but I'm concerned about that value increasing over time.

 

How can I capture that number and stop it from counting once the card is completed?

 

Thanks again.

milynnus Rising Star Dec 02, 2022

@Jake Scott-Hodes 

 

This will work when you save the days to a custom field when card is marked completed. While the age will continue to increase, the value you save it the CF will remain unchanged.

Screen Shot 2022-12-03 at 6.57.05 AM.jpg

Right on. Thank for confirming this!

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events