Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

On this page

Table of Contents
maxLevel2
exclude(On this page|Use case|When to use).*
stylecircle
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

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.




UI Steps

Issue updated event

UI Step

Excerpt Include
DECADIS:Automation Use Case - Create Rule Step
DECADIS:Automation Use Case - Create Rule Step
nopaneltrue


UI Step

Add a Trigger → Issue event → Issue Updated


UI Text Box
typeinfo

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



Reindex Image Added Reindex issue action

UI Step

Add Action → Reindex issue

UI Text Box
typenote

No further configuration needed.



 JQL Selector

UI Step

Add Selector → Issue Selector


UI Step

Target issue(s)

ChooseLinked Issues


Reindex issue action

UI Step

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

UI Text Box
typenote

No further configuration needed.





Screencast

This is how the configuration above should look on your screen

UI Text Box
typenote

No screencast available at the moment



Import the example

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


UI Expand
titleJSON

{
    "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

Page properties report
headingsAutomated action, JWT feature, Label
cqllabel = "use-case-auto" and label = "reindex-issue" and space = "JWTSDC"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Automated action

Reindex issue action

Label




Page properties
hiddentrue



Status
Tech review

Status
colourYellow
titleneeds review

Style guide

Status
colourYellow
titleneeds review

Status
titleto do
Status
colourGreen
titledone
Status
colourYellow
titleneeds review
Status
colourRed
titleflagged