Calculating estimate based on custom fields

arokus December 2, 2021

I am using the Calendar for Jira app in our Jira Server Instance.

https://marketplace.atlassian.com/apps/1218390/calendar-for-jira?hosting=server&tab=overview

In this calendar's week view you can define the start and end date/time of issues you directly create on the calendar. The start and end date/time values can be set to be saved to Custom Jira fields.

I have a custom field called "Calendar Start" and another called "Calendar End". What I would now like to achieve is somehow calculate this and set the original estimate on creation.

So If I add an issue on the calendar for the afternoon today at 6pm till 8pm, then this sets:

Calendar start to 2021-12-02 18:00 and Calendar end to 2021-12-02 20:00.

I would like to add a field that calculates the time passed between these two dates, which would then be 2 hours.

I would the use this field to set the original estimate to 2 hours on issue creation as post function.

Additional condition would be that if the original estimate was set in the form, then that should stay and not get overwritten, but that is not a must have.

0 answers

Suggest an answer

Log in or Sign up to answer