On this page



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 the current and all linked issues as soon as the current issue is updated.




Issue updated event


Add a Trigger → Issue event → Issue Updated


No further configuration needed. The automation rule is triggered every time an issue is being transitioned.



 Reindex issue action

Add Action → Reindex issue

No further configuration needed.



 JQL Selector

Add Selector → Issue Selector


Target issue(s)

ChooseLinked Issues


Reindex issue action

Next to the Issue Selector click on Add → Action → Reindex issue

No further configuration needed.





Screencast

This is how the configuration above should look on your screen

No screencast available at the moment



Import the example

Import the JSON file below to get started in no time.


{
    "name": "Reindex linked issues",
    "description": "",
    "creator": "admin",
    "status": false,
    "triggerData": "2",
    "triggerType": "ISSUE_EVENT",
    "configuration": {
        "refs": [
            "issue",
            "system",
            "trigger.issue",
            "trigger.parent"
        ],
        "triggerType": "2"
    },
    "children": [
        {
            "sequence": 0,
            "type": "REINDEX",
            "ruleEntityType": "ACTION",
            "configuration": {
                "refs": [
                    "issue",
                    "project",
                    "system",
                    "trigger",
                    "trigger.issue",
                    "trigger.parent"
                ]
            },
            "children": null,
            "hasChildren": false
        },
        {
            "sequence": 1,
            "type": "ISSUE_SELECTOR",
            "ruleEntityType": "SELECTOR",
            "configuration": {
                "refs": [
                    "issue",
                    "project",
                    "system",
                    "trigger",
                    "trigger.issue",
                    "trigger.parent"
                ],
                "option": "linkedIssues",
                "issueListExpressionParsingMode": "issues",
                "actingUser": "field_00020"
            },
            "children": [
                {
                    "sequence": 0,
                    "type": "REINDEX",
                    "ruleEntityType": "ACTION",
                    "configuration": {
                        "refs": [
                            "issue",
                            "issues",
                            "project",
                            "selector.issue",
                            "selector.parent",
                            "system",
                            "trigger",
                            "trigger.issue",
                            "trigger.parent"
                        ]
                    },
                    "children": null,
                    "hasChildren": false
                }
            ],
            "hasChildren": true
        }
    ],
    "hasChildren": true
}



 Related use cases




JWT feature

Automated action

Reindex issue action

Label






Status
Tech review

Style guide