This workaround is designed to assist Jira Software (JSW) and Jira Work Management (JWM) projects requiring an approval step in the workflow.
Before we start, allow me to share that Jira Service Management (JMS), offers a unique feature of approval steps that isn't available in other Jira products like JSW or JWM. The approval process is an integral part of service management and ITSM (IT Service Management) workflows, which JSM is specifically designed to handle.
In the context of JSM, the approval process is a mechanism that ensures certain issues (or requests) are reviewed and approved by the appropriate individuals or teams before they progress in their lifecycle. This is particularly useful for maintaining control and ensuring quality in processes like change management, service requests, and others.
The glad tidings is that we already have an item in our development backlog aimed at improving this as well:
Therefore, you can only add an approval step to workflows with an associated issue type that is being used by a request type. Learn more about request types.
Some tips: You also have the option to include a screen with the 'Approvers' field during the transition to the 'In the approve step' status. This allows the engineer to select the necessary approver.
Extra tip: You can also create an automation rule to send an email notification to the approver, like this one below:
Additionally, note that isn’t possible to add an Approve/Decline button by email, as this feature is exclusive to JSM. Remember that Jira itself does not handle incoming webhooks. You would need a middle service that can receive the HTTP requests and then communicate with Jira's REST API to make the necessary changes. This setup involves some development work (for the middle service) and would need to be hosted somewhere that's accessible from the links in the Jira comments. It also needs to securely handle authentication with Jira's REST API. Also, you may explore finding this information within the Atlassian Developer Community or consider searching for an add-on available in our marketplace that can assist you with this task.
Threfore, allow me to share some smart values to send customized notifications:- `{{issue.key}}`: The key of the issue.
- `{{issue.summary}}`: The summary of the issue.
- `{{issue.description}}`: The description of the issue.
- `{{issue.status.name}}`: The name of the issue's current status.
- `{{issue.assignee.displayName}}`: The display name of the user the issue is assigned to.
- `{{issue.reporter.displayName}}`: The display name of the user who reported the issue.
- `{{issue.created}}`: The date the issue was created.
- `{{comment.body}}`: The body of the most recent comment.
- `{{comment.author.displayName}}`: The display name of the user who made the most recent comment.
To make sure that the issue is allowed to move forward (to the next status) only after the Issue has been approved, use the 'Previous Status Condition' in the transition.
Explore Workflow conditions: Configure advanced issue workflows
This workaround will work as in the screen recording below:
Bruno Altenhofen
Atlassian Engineer - The guy from Proforma(Jira Forms)
e-Core
Krakow - Poland
9 comments