Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need help on customizing the workflow

Anil Kumar Patcha January 17, 2019

We have designed below workflow in JIRA (It has following states: To Do, In Dev, In QA, In Stage, In Prod and following tranistions Start, Approved for QA, Approved for Stage, Approved for Prod).

To Do ------> In Dev -----------------> In QA -------------------> In Stage ------------------> In Prod
Start Approved for QA Approved for Stage Approved for Prod

This workflow should be used by all application deployments. We have couple of applications and each application has designated approvers for QA, Stage and Production. So, we are planning to create users and groups for each application approvers. And will create a custom field as "Application Name" (This application name will be suffix for each application user and group).

Now, we need your help and suggestions to customize this workflow to meet below requirements. Please help on this.
1. Approval transitions should be automatically assigned to respective application user on each state.
2. Only respective application group members should be able to transition the workflow (Other application group members should not be able to transition it).

Let us know if you have any queries

2 answers

0 votes
Barnali Putatunda January 17, 2019

Hi Anil,

Here's how you can achieve the desired result.
1. In post function you can use this:
image.png
You need to have JMWE add-on available in your JIRA instance for this.

2. Add a condition in your transition to allow only a specific project role. As per the assignment of users in the respective project respective role, only they will be able to make that transition.

0 votes
Danny Coleman
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 17, 2019

For your first requirement, you'll want to put a post function in the transitions that assign it to the appropriate user. In order to restrict who can initiate the transition, you'll want to put conditions in each transition that specify the users who should have permission.

Check out the documentation for post functions and conditions here:

https://confluence.atlassian.com/adminjiracloud/advanced-workflow-configuration-776636620.html

Suggest an answer

Log in or Sign up to answer