Page History
Section | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Example:
CalculatingTotal remaining
time in issues and subtasks of epicsestimate in an epic
Sum up the remaining estimates In this example we want to calculate and display the remaining time (in days) of issues and subtasks in an epic.
For this we need a calculated number field. The configuration will look like thisA valid configuration for this Calculated Number Field:
Text to be parsed
is: sumsum(fieldValue({00024}, issuesUnderEpic() UNION linkedIssues("",issuesUnderEpic()))) /480
The display format configuration is shown in the following screenshot.
Text to be parsed is: ###.## d
This is done for displaying the remaining time in days.
Adding the custom field to the issue screen will look like this:
Adding a predicted due date to the epic
Resulting of the created custom field, another custom field can be configured to predict a due date for the whole epic based on the Remaining time.
For this a JWT Calculated Date-Time field is needed.
The configuration will look like this:
Text to be parsed is: addTimeSkippingWeekends({00057}, {10200}*{DAY}, LOCAL, {FRIDAY}, {SATURDAY})
Note that:
- {00057}is field code for field Current date and time
- {10301} is field code for custom field Epic Remaining. It could distinguish from your custom field code.
Note that:
- {00024} is the field code for Remaining Estimate (in minutes)
In order to return days, the display format is configured as shown:
Once configured and added to an issue screen (e.g. an epic), the result Adding the second custom field to the epic will look like this:
Other examples of this custom field
Incoming Links | ||||
---|---|---|---|---|
| ||||
Related Usage Examples
Content by Label | ||||
---|---|---|---|---|
|