Some values failed to calculate
This page helps you find out why FieldCraft couldn't calculate or store some values, and what to do about each reason.
Symptomβ
You see failures in one of these places:
-
On the Activity tab, a run shows a number in the Failed column.
-
On the Calculation tab, the This hour card counts values as failed, or a reindex shows Finished with errors.
-
On a work item, the hover starts with Couldn't recalculate.
An error never replaces a stored value. You keep seeing the value the field had before.
Find the causeβ
-
Go to Settings (β) > Marketplace apps > FieldCraft: Custom Fields.
-
Choose where you look, by what failed:
-
For an hourly refresh, go to Read why a refresh failed.
-
For a reindex, go to Retry the failed work items of a reindex.
-
For one work item, go to Check the field on the work item.
-
Read why a refresh failedβ
Cause: Jira didn't store some values that the hourly refresh calculated. The run lists a reason for each value, so you can see why.
Solution: As a Jira admin:
-
Select the Activity tab.
-
In the row of the hourly refresh, select its failed count.
A dialog opens with the work item, the field, and the reason. Under each reason, you see a line starting with Jira: with Jira's own message.
-
Act on the reason:
Reason What to do The work item or field no longer exists Nothing. FieldCraft stops counting work items and fields that are gone Jira refused the value Check the field on the work item, as described below. If it calculates, contact support with the Jira: line FieldCraft may not edit this work item Contact support with the work item key and the Jira: line Jira returned an error Select Run hourly refresh now on the Calculation tab. If the value fails again, contact support
You can read the reasons for up to 50 values per run, for 7 days.
Retry the failed work items of a reindexβ
Cause: A reindex couldn't calculate or store the values of some work items. You find them on the Calculation tab, under Failed work items.
Solution: As a Jira admin:
-
Select the Calculation tab.
-
In the Reindex section, read the messages next to the failed work items.
-
Select Retry N failed, where N is the number of failed work items.
You start a new reindex for those work items only.
If the same work items fail again, you can check the field on one of them.
Check the field on the work itemβ
Cause: The field's settings don't work for this work item. For example, a Jira expression throws an error.
Solution: As a Jira admin:
-
On the Fields tab, open the field's β’β’β’ menu, and select Edit configuration.
-
Turn on Check it on a work item, enter the work item's key, and select Check.
If it fails, you see The calculation failed with Jira's messages.
-
Change the settings until the check shows a value, and select Save.
See Check a field on a work item.
Relatedβ
-
Follow runs on the Activity tab: every hourly refresh and reindex, with their results.
-
Recalculate existing work items: start a reindex and follow it.
-
Get help from support: what to send when you contact us.