Bulk-close Jira issues with Cloudaware comments
This guide explains how to automate closing Jira issues with Cloudaware comments. Cloudaware adds comments to Jira issues based on set criteria. A comment could serve as an effective trigger for bulk closure of the issues within Jira.
Prerequisites
Ensure that custom fields for mapping are created and added to the issue layout in Jira.
Ensure that Jira actions are set up and required fields are created.
Set up automation in Jira
Note that the Jira action for Cloudaware comments must be set up before this automation (see this guide).
Configure automatic change of an issue status to 'Resolved' in Jira:
In Service Desk project, select Project settings → Automation.
Select the tab 'Rules'. Click Create rule.
Configure the rule by defining the WHEN, IF, and THEN blocks:
3.1. Add a trigger for When condition: Issue commented → select Comment is the main action → click Next.3.2. Add the IF block → choose the component {{smart values}} condition:
Set up the criteria as follows:
First value:{{comment.body}}
Read more about triggers
Condition: contains
Second value:"This vulnerability is fixed and deleted on"*
Click Next.
3.3. Add the THEN block → Transition issue → RESOLVED on Destination Status → Next.
The automation summary should look as follows:
Click Turn on rule → give the rule a name → Turn on rule to enable the automation right away.
OR
Click Save rule without enabling → give the rule a name → Save rule without enabling to enable the automation later.