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

The calculated fields provided by JWT are an excellent tool to work with real-time issue data. Due to Jira's architecture there is a little flaw when it comes to working with data from other issues.

Taken the Total of all story points in an epic use case as an example, the data shown in the issue view of the epic is always accurate. However, when changing the story points in a story in that epic, the epic's index is not updated automatically and therefore JQL searches might return wrong or misleading results until the epic is updated and thereby reindexed again.

In this use case we will perform a reindex on the epic of a story as soon as the story points are updated.




UI Steps

 Field changed 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 → Field changed event


UI Steps


UI Step

Field

Choose Story Points


UI Step

Changed to

Choose Any value




Boolean  Boolean condition (optional)

UI Step

Click on Add → Boolean condition

Add the following expression:

Code Block
linenumberstrue
%{trigger.issue.project.key} = "JWT" and %{trigger.issue.issueType} = "Story"


UI Text Box
typeinfo

Assuming the rule should only be run against stories in a specific project, the expression shown would ensure doing so only for stories in the JWT project.


Issue  Issue selector

UI Step

Click on Add → Issue selector

UI Steps


UI Step

Choose Linked epic as the target issue.



 Reindex issue action

UI Step

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



 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

Status
colourRed
titlestaff pick




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