JWT automation rules

While JWT JWT workflow functions are a perfect way to automate actions that are directly tied to a workflow transition, automation rules allow you to automate actions within Jira regardless of any workflow.

Configuration

Rule elements

Selectors

Learn how to collect the issues that should be updated by your rule

Triggers

Every rules starts with a trigger - learn how to configure them

Conditions

Define the scope of your rule execution


Actions

The heart of each rule - define the actions you want to automate


📚 Automation use cases library

Title Automated action JWT feature Label Parser functions Workflow function
Remind users to close inactive issues

Add comment action

(high_voltage) 

staff pick

Manually create test issues

Create issue action

(high_voltage) 


Notify the assignee one week before the due date

Send email action

(high_voltage) 


Re-assign issues and leave a comment

Add comment action
Assign issue action

(high_voltage) 


Close epic when stories are done

Transition issue action

(high_voltage) 


count()

filterByStatus()

issuesUnderEpic()

Add comment after seven days in the same status

Add comment action

(high_voltage) 


Notify for high priority issue

Send email action

(high_voltage) 


Manually delete test issues

Delete issue action

(high_voltage) 


Keep the status of parents and sub-tasks in sync

Transition issue action

(high_voltage) 

staff pick

Notify assignees when components are merged

Add comment action

(high_voltage) 


Assign an issue to the last assignee on a transition

Assign issue action

(high_voltage) 


Notify the project lead on priority changes

Add comment action

(high_voltage) 


Create sub-tasks depending on selected values in a custom field

Create issue action

(high_voltage) 


toStringList()

Sum up value in parent issue on field change in sub-tasks

Update field action

(high_voltage) 


fieldValue()

sum()

subtasks()

Bulk clear the issue resolution

Update field action

(high_voltage) 

staff pick

Transition affected issues when releasing a version (manually)

Transition issue action

(high_voltage) 


Close stories when epic is done

Transition issue action

(high_voltage) 


Close tickets after version release

Transition issue action

(high_voltage) 

Staff pick

dateToString()
first()
releaseDates()

Schedule the escalation of overdue issues

Transition Issue

(high_voltage) 


Delete the attachments of an issue 30 days after closing it

Update field action

(high_voltage) 


Add sub-tasks to an automatically created issue

Create issue action

 ⛭ ⚡️ 


getMatchingValue()

Create issue

Transition affected issues when releasing a version (automatically)

Transition issue action

(high_voltage) 

staff pick

Add sub-tasks to an issue on creation

Create issue action

(high_voltage) 


Reindex linked issues

Reindex issue action

⚡️ 


Reindex issue on custom field update

Reindex issue action

⚡️ 


Scheduled project reindex

Reindex issue action

⚡️ 


Automatically close sub-tasks when parent is completed

Transition issue action

(high_voltage) 

staff pick

Automatically assign issues to your team

Assign issue action

(high_voltage) 


Keep calculated custom field in sync

Reindex issue action

⚡️ 

staff pick

Schedule issues for re-submission

Transition issue action

(high_voltage) 


Add components of the epic to the current issue

Update field action

(high_voltage) 


Automatically close parent when all sub-tasks are done

Transition issue action

(high_voltage) 

Staff pick

count()

filterByStatus()

siblingSubtasks()

Add links to the issues in a ScriptRunner Issue Picker field

Create issue link action Delete issue link action

(high_voltage) 


issueKeysToIssueList() toString() toStringList() replaceAll() previousValue()

Bulk edit the issue resolution

Update field action

(high_voltage) 

staff pick

Re-open issue when a new comment is added

Transition issue action

(high_voltage) 


Update assignee and reporter to facilitate user deletion

Add comment action

Assign issue action

Update field action

(high_voltage) 

staff pick

Keep the priority of parents and sub-tasks in sync

Update field action

(high_voltage) 


Assign issues to your team during a transition

Assign issue action

(high_voltage) 


isInGroup()

Track issues mentioned in comments

Create issue link action

(high_voltage) 


findPattern()

issueKeysToIssueList()

toString()

Transition issues when assigned to a developer

Transition issue action

(high_voltage) 


Inherit value from parent in Advanced Roadmaps hierarchy

Update field action

(high_voltage) 


fieldValue()

first()

parent()

Notify about date of last comment for high priority issues

Send email action

(high_voltage) 


Copy the parent issue comments to its sub-tasks

Add comment action

(high_voltage) 


Copy excerpted value from new comments

Update field action

(high_voltage) 


findPattern()

first()


Resolve issues when all options of a checklist are checked

Transition issue action

(high_voltage) 


numberOfAvailableItems()

numberOfSelectedItems()

Send email when a field is updated

Send email action

(high_voltage) 


Create issue link when issue is created

Create issue link action

(high_voltage) 


issuesFromJQL()