Use cases

The list below contains some use cases that can be realized using JWT for Jira Cloud.

Make sure to come by once in a while since the number of use cases will grow over time.

Use cases by workflow function

• Conditions and validators

• Post functions

📚 Use cases library

Use case JWT feature Label Labels Parser function Parser functions Use case description Workflow function
Block a transition based on the day of the week


Block transitions on weekends or any other day of the week.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Create a sub-task for each user selected in a User Picker field

(cog) 


jiraExpression()

Create automatically a sub-task for each selected user in a User Picker (multiple users) field of the transitioned issue.

Create issue

Alert the assignee of important issues

(cog) 



Add a comment to an issue mentioning the assignee.

The comment will only be added, if the issue priority is set to "High" or "Highest" to ensure that the assignee will only be alerted for the important issue

Add comment

Create two sub-tasks when a user story is being approved

(cog) 



When a story is approved, two sub-tasks for Development and QA will be created.

Create issue

Check whether an attachment was added during the transition.


Make sure that the current user has uploaded a attachment during the transition. 

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Evaluate worklogs in sub-tasks

Evaluate if work has been logged in a sub-task to prevent transitioning the parent issue when no work has been logged.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Set User Picker field with users from group

(cog) 


Execute remote action

Add formatted comments automatically

(cog) 



Add a formatted comment to the current issue.

It would be convenient in case that you need to create a table or highlight some important points in the comment.

Add comment

Set the due date based on the priority

(cog) 


getMatchingValue()

Update fields

Create a comment on an external Jira ticket

(cog) 


Execute remote action

Create an external project for a new employee during an onboarding process

(cog) 


Execute remote action

Keeping developers informed about new software requirements

(cog) 

Each time a new software requirement was created in a Jira project, the functionality automatically adds all project developers as watchers. As a result, the development team is immediately informed of the new requirements, enabling better coordination and timely implementation.

Add or remove watchers

Notifying the parent issue watchers about new sub-tasks

(cog) 

Once a sub-task is created, the functionality automatically adds all watchers of the parent issue as watchers to the sub-task. In this way, it becomes possible to ensure that the watchers of the parent issue remain informed of new developments and updates at the sub-task level and maintain a comprehensive overview.

Add or remove watchers

Obtain the difference between two dates

(cog) 


Update a number field with the difference in days between two dates obtained from two Date Picker fields.

Update fields

Assign an issue to the user who last commented on it

⚙️



Assign the issue to the user who last commented on the issue.

Update fields

Add three days skipping weekends automatically to a Date Picker

(cog) 


Add three days to a Date Picker field from the current date.

Update fields

Send an email to the project lead for a system managed in Jira Service Management Assets

(cog) 


getNameFromAsset()

getAttributeFromAsset()

userDisplayName()

In our Jira Service Management project, we want to automatically send an email to the project manager to inform him of an incident in a system managed asset. 

Send email

Create an issue with a summary to check for attachment type

(cog) 


matches()

Creating many issues and adding a summary and a description can be a bit frustrating and time-consuming.

To avoid such things, the following use case shows you how to create a sub-task with a summary to check for attachment type in the parent issue.

Create issue

Resolution must be empty


Not allow a resolution to be set.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Fields required

Fields required or changed

Keep parent's priority in sync

(cog) 



Set the priority of the parent issue to the priority of the current issue.

Update fields

Set the Assignee based on the Issue type

⛭ 


getMatchingValue()

Update fields

Creating IT tasks and adding watchers for onboarding



When a service request is submitted in the HR project, three IT tasks for providing the necessary work equipment are automatically created in the IT project, with the HR group added as watchers to ensure a structured and trackable onboarding process.

Execute sequence of actions

Create a sub-task mentioning the assignee when a high priority task is ready for review

(cog) 



Keep your team on track and up to date by creating a sub-task mentioning the assignee's full name and with issue links linked to the appropriate issue whenever a high priority issue has been moved to the status "Review"

Create issue

Read the information from a Trello card

(cog) 


Execute remote action

Automatically log work on a Jira issue

(cog) 


dateTimeToString()

Execute remote action

Current user must be reporter


Current user must be reporter.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Compare two values condition

Compare two values validator

Check if an attachment was added recently


Make sure that the current user has uploaded a attachment during a definite period of time.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Start progress on the parent issue

(cog) 



When a sub-task is transitioned to the "In Progress" status the parent issue will be transitioned to the "In Progress" status as well if it is still in the "To Do" status.

Transition issue

Create a simple sub-task

(cog) 



Create a sub-task, set the summary based on the parent's component, and set the assignee to the current user.

Create issue

Add a comment with links to attachments that were just added

⚙️



A comment will be added to the current issue with links to the attachments included recently.

Add comment

Set Fix version to Affects version when resolving an issue

(cog) 



When an issue is resolved and the resolution set to "Done" the Affects version/s will be added to the Fix version/s field.

Update fields

Fast-track transition issues assigned to the project lead

(cog) 



Automatically execute the "Start progress" transition if the issue's assignee is the project lead.

Transition issue

Make a field required only for stories

Make a field required to enable a transition only for issues with the story issue type.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Keep the project lead informed of any new issues

(cog) 

Anytime a new issue is created in the "Project Management" Jira project, the functionality automatically adds the project lead as an observer. The project lead is thereby kept up to date with all new updates and information within the project, facilitating effective monitoring and management.

Add or remove watchers

Push status updates to the linked Epic

(cog) 



Add a comment to the linked Epic including the summary and status of the current issue.

This is helpful when you don't want to keep track of individual Stories and only receive notifications of the linked Epic (e.g. as a watcher or reporter).

Add comment

Automatically link an issue to an external one

(cog) 


Execute remote action

Check for at least one component


Require a at least one component.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Fields required

Fields required or changed

Block a transition if some issues under an epic are not in a certain status

Check whether an epic has all issues under it in a certain status.

This is particularly important if you want to block an epic as long as work is still being done on related sub-tasks.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Create multiple sub-tasks with different summaries and descriptions

(cog) 


nthElement()

Create multiple sub-tasks with different summaries and descriptions.

Create issue

Retrieve the assets of an issue in Jira cloud

(cog) 


Execute remote action

Automatically create a version when starting the release

(cog) 


Execute remote action

Using app user to update non-editable fields

(cog) 



Update an locked issue in the Done status

Update fields

Automatically add incident reporters to problem tickets

(cog) 


append()

fieldValue()

linkedIssues()

toStringList()

In our Jira Service Management project, we want to automatically add the reporter of an incident to the corresponding problem ticket.

Update fields

Start progress on an issue immediately after creation

(cog) 



The transition to start progress on the current issue will be executed directly after its creation.

Transition issue

Copy labels of a sub-task to the parent issue upon closing

(cog) 



When a sub-task is closed, the labels of the sub-task will be added to the Labels field of the parent issue.

Update fields

Create a sub-task for high priority issues

(cog) 



Create a sub-task only if the priority of the current issue is "High".

Create issue

Block a transition if a predefined field value has not been changed


Evaluate a Date Picker field and block the transition if it has not been updated.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Update fields

Block a transition based on issue links


Evaluate issue links and hide transitions based on the outcome.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Validate worklogs


Evaluate if a user has logged more than a certain amount of time in the latest worklog.


Jira expression condition

Jira expression validator

Create a personal space for a new employee

(cog) 


Execute remote action

Check current issue status

Check whether the current issue is in a particular status.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Assign an issue to the project lead, if the issue is unassigned on creation

⚙️



When an issue is created without an assignee selected, the issue will be assigned to the project lead of the project.

Update fields

Create a new employee account during an onboarding process

(cog) 


Execute remote action

Alert the assignee of an important issue

(cog) 



Send an email to the current assignee only if the priority is set to "Highest" or "High".

Send email

Evaluate the Parent field

Evaluate different values of the issue in the Parent Link field of the transitioned issue.

This use case is valid for both conditions and validators . The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Send email after transitioning to specific status

(cog) 



Often it can be useful to notify specific users about certain changes. For example, if an issue reaches a specific status, it can come in handy to get a notification about this update.

In this ise case an email will be send to the reporter, assignee and the project lead, if a specific transition has been executed.

Send email

Add watchers from another field

(cog) 


union()

toStringList()

Update fields

Transition issue

Add a sub-task's summary and key to the description of its parent

(cog) 



When a sub-task is created, its summary, issue key and date, and time of creation will be added to the description of the parent issue.

Update fields

Set a date field to a future date

(cog) 


dateTimeToString()

Set any date field of an issue to a future date.

Update fields

Escalate an issue if it is being raised with a "Blocker" priority

(cog) 



When an issue is raised with a"Blocker" priority, a transition escalating the issue will be executed immediately after its creation.

Transition issue

Update the sub-task's assignees by the current issue's value

(cog) 



Update the sub-task's assignee from its parent

Update linked issue or sub-task

Validate an issue only if a comment is written during the transition


Evaluate the comments and block transitions based on the outcome.

This use case is only valid for validators as it involves making changes during a transition. An additional error message can be added.

Jira expression validator

Get Hubspot contact information

(cog) 




Execute remote action

Automating sub-task creation with controlled sequence

(cog) 


dateTimeToString()

first()

fieldValue()

issueKeysToIssueList()

Ensure a strict task sequence by scheduling four subtasks one week apart, each blocked by the previous one. This guarantees controlled execution and clear dependencies.

Execute sequence of actions

Record an auditable timestamp of a Compliance Approval

(cog) 


dateTimeToString()

Set a Date Time Picker field to the current date

Update fields

Push status updates to the parent

(cog) 



Add a comment to the parent issue including the summary and status of the current issue.

This is helpful when you don't want to keep track of individual sub-tasks and only receive notifications of the parent issue (e.g. as a watcher or reporter).

Add comment

Create a sub-task linked to issues with a specific priority

(cog) 



Create sub-tasks and link them to the parent or current issue that has a specific priority of your choice.

Create issue

Block a transition if the type of the attached files is incorrect


Evaluate the type of files in the Attachments field.

This use case is valid for both conditions and validators . The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Deleting watchers from rejected incidents

(cog) 

After an incident is rejected, the functionality automatically removes all watchers from the issue. This guarantees that no other people remain in the information loop for the rejected issue, streamlining communication and focusing on active incidents. 

Add or remove watchers

Due date must be in the future


The due date must be in the future.

This use case is valid for both conditions and validators . The only difference is that you can specify an additional error message when using a validator.

Compare two values condition

Compare two values validator

Make a fix version required and add a comment


Require a fix version and add a comment.

This use case is valid for  validators.

Fields required or changed

Add comment when rejecting an issue

(cog) 



When an issue is rejected, a comment will be added to the current issue mentioning the reporter.

Add comment

Notify the reporter of an issue about its status by a Telegram message

(cog) 


Execute remote action

Create a sub-task for each component

(cog) 


toStringList()

getMatchingValue()

Create a sub-task for each selected component in the current issue.

Create issue

Make the assignee required


Require a non empty assignee.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Fields required

Fields required or changed

Automating annual access review for company software in assets

(cog) 


getNameFromAsset()

getAttributeFromAsset()

getAssetsFromAQL()

For the annual access review of applications used in the company and managed as Jira Service Management Assets, we want to create a dedicated task for each application owner to review the people who have access to the application they are responsible for. 

Create issue

Create a story in an Epic

(cog) 



Link your Epic each time you create a story.

Create issue

Make values required in a Select List (cascading) field

Check whether a Select List (cascading) field has a value in the transitioned issue.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Block a transition based on sprint information

Make sure that an issue is not in an active sprint.

This use case is valid for both conditions and validators . The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Link issue to issue mentioned in its description

(cog) 


findPattern()

first()

Execute remote action

Transition parent issue to another status

(cog) 


filterByStatus() subtasks()

Transition the parent issue to the "Open" status.

Transition issue

Translate the description

(cog) 


findReplaceAll()


Execute remote action

Notify the support team about internally found bugs / problems

(cog) 

When an issue is identified as a bug, the functionality automatically adds all members of the support group as watchers. This ensures the support team is promptly informed about the bug, enabling them to communicate effectively with customers regarding any errors that occur on the customer side.

Add or remove watchers

Issue must have at least two attachments


Require a at least two attachments.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Compare two values condition

Compare two values validator

Create an issue in the current project

(cog) 



Create an issue in the current project and additionally set a summary.

This use case comes in handy if you quickly need to create i.e. a new bug which relates to the current issue

Create issue

Alert the reporter

(cog) 



Add a simple comment to an issue mentioning the reporter.

This use case might come in handy if you don't want to use extra events in your notification schemes to notify specific users - like the reporter.

Add comment

Set the fix version from the current sub-task for all sibling sub-tasks

(cog) 



Update the  fix version  of all  sibling sub-tasks  from the  current issue .

Update linked issue or sub-task

Copy field values from epic to issues under it after creation

(cog) 


epic()

issuesUnderEpic()

filterByStatus()

Copy the values of the fields defined in the Update fields post-function to the issues under the epic after their creation.

Update fields Transition issue

Set the assignee of an external issue same as the transitioned issue

(cog) 



Execute remote action

Inform the project manager about an added attachment

(cog) 


jiraExpression()

Within the Send email post function you have the possibility to send HTML links in the message as well.
This use case shows an approach to send an email to the project lead linking the most recent attachment. 
It is normally applied after executing a transition, if an attachment was added there. This will then be linked to.

Send email

Selectively copying attachments using filename-based regular expression when created a new issue

(cog) 



Create a sub-task and copy only relevant attachments using filename-based regex (e.g. ^final_.*)

Create issue

Check the number of times that a field has changed

Check the number of times that a field has changed.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Check parent issue type

Check whether the parent of the current issue is of a certain issue type.

This is particularly important if you want to reuse a workflow for multiple sub-task issue types but only want a transition to be available if the sub-task belongs to a certain user story or a bug.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Transition an external Jira ticket based on the linked internal one

(cog) 



Execute remote action

Set a date field to the current date

(cog) 


dateTimeToString()

Set a Date Time Picker field to the current date

Update fields

Evaluate custom fields

Evaluate custom fields of different types with Jira expressions.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Evaluate the user


Evaluate users and hide transitions based on the outcome.

This use case is valid for both conditions and validators . The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Link a Jira issue with the corresponding release ticket

(cog) 


Execute remote action

Auto-transition when related issues are in a specific status

(cog) 


linkedIssues()

Automatically transition issue, if all linked issues are in specific status.

Transition issue

Assign important issues to the project lead

(cog) 



Automatically assign and issue to the project lead.

Issues will only be re-assigned if the priority of the issue is set to Highest to make sure that only important issues are being escalated.

Update fields

Create an overview page for a software release

(cog) 


Execute remote action

Check for unresolved sub-tasks

Check whether the current issue has any unresolved sub-tasks.

This is particularly important if you want to block a parent issue as long as work is still being done on related sub-tasks.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Jira expression condition

Jira expression validator

Copy the due date from the current issue to blocking issues

(cog) 



Copy the  due date  value from the  current issue  to blocking  issues .

Update linked issue or sub-task

Set the priority to Highest if the 'Infrastructure' component is selected

(cog) 



When an issue is created with the "Infrastructure" component selected, the priority will be set to "Highest".

Update fields

Background priority calculation

(cog) 


avg()

Automatically set issue priority during creation using the average of two custom fields. Since the field is only visible on the view screen, the automation must run as the App user to bypass editing restrictions.

Update fields

Providing information to the onboarding team about new issues created by team members

(cog) 

Each time a team member creates a new issue, the "Add or remove watchers" functionality automatically adds all colleagues from the onboarding team as watchers. This feature immediately informs the entire onboarding team about new issues, improving team coordination and support.

Add or remove watchers