You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Due to some backlogs, there is a need for us to input incident start time and end time for the previous incidents. I have created 2 custom fields for this.
Im thinking about adding another custom field (incident duration) and the computation of 2 custom fields (start and end time) would be calculated and appear on that duration field.
Is there a way to do this without installing an app/plugin? I have done the following:
1. Through SLA - cannot choose the custom field to calculate
2. Automation - do not seem to have add calculation / computation on the Action component
Appreciate your help.
You can use "smart values" to make a calculation and update a field value with it.
Use the "Edit issue" action to set your "duration" custom field to something like this:
The above calculates number of business days between a date in customfield_13455 and "now" (today).
You would need to change "now" in the above to your second customfield (and the first to point to the correct customfield). e.g.
hi @Peter Youngman I did make it work, however there is one issue. I changed my custom field from date time picker to number field so it would just give whole numbers instead of date time.
The automation rule is successful, but the number field shows 0. Is there a need for me to edit anything?