Use case
Often you do not only use Jira's basic set of features but extend your issues with custom fields like our calculated fields.
They work perfectly to aggregate data but once in a while you might want to do a reindex to get all up-to-date values from all issues.
In this use case we will use the scheduled trigger to do a reindex in a project once a week.
⚒️ Configuration
Scheduled trigger
Create a new rule and name it appropriately.
Providing a description will help you to identify what the rule does but this step is optional.
Add a Trigger → Scheduled and choose who you want to execute this rule in Run as*
Schedule
Choose Days per Week
Interval
Choose once per week at 10:00am on Sunday
JQL Selector
Add Selector → JQL Selector
Use the following Expression:
project = KEY
KEY has to be a project key. In this case we are going to reindex all issues in that project.
But you can also adapt the configuration to your needs!
Reindex issue action
Next to the JQL Selector click on Add → Action → Reindex issue
No further configuration needed.
📤 Import the example
Import the JSON file below to get started in no time.
📚 Related use cases
| Title | Automated action | JWT feature | Label |
|---|---|---|---|
| Scheduled project reindex |
|
|
|
| Reindex linked issues |
|
|
|
| Reindex issue on custom field update |
|
|
|
| Keep calculated custom field in sync |
|
STAFF PICK |