Adding Condition to the Jira Workflow.

Hello Friends,

Welcome to another tutorial regarding Jira Workflow. This is one of the best feature in Jira to input the condition regarding what actions can be performed by what users. In general there are two users working on the issue and some may be in CC also, the two users are termed as Assignee, the one who is working on the issue, and Reporter, the one who reported the issue. Beside these, there is jira administrator who has the admin rights and can perform any action which these two users individually can perform.

Lets moving on to our topic, adding conditions to the workflow. Now the first point is that why we need the condition to be added in the workflow. For this I would like to tell you one scenario-

Suppose there is one condition named Start. Start is one of the action to be performed in the workflow that will show the status as In Progress of the issue. Now who can perform this issue, since this action will be performed by the user to whom this issue is assigned, i.e. assignee will perform this action. Now since assignee is responsible to perform this action there is no sense to allow this action to be visible to the reporter. So this must be visible to assignee only and not to reporter. This can be done by adding condition to this action in the workflow.

There are many scenarios where different condition will be required. Here we consider the simple scenario we discussed earlier. To perform this operation and to add the condition one must have the jira admin rights to the project properties. The condition is the part of the workflow i.e. we have to add the jira condition in the workflow.

Now follow the steps to add a new condition in your workflow. We will consider the simple workflow for editing. Now click on any action(Step Name) or Transition in the workflow. Here I will click on Start Progress i.e. I will add the condition to this transition.

Once you clicked on this another page will open that will allow you to add a new condition to the transition.

Now, once you click add new condition another page will appear with the available conditions that can be added. It may look like this.

Here you can select the condition you want to add. Once done this will add the condition and it will appear as –

Take into note that you can add only one condition at a time. But you can add more than one condition following same procedure. Here is the example.

As in above screen you can see that there are two conditions added to a single transition. Various other options are also available for the conditions to work. Here we have selected that this Start Progress transition should be viewable to assignee only. You can also delete the condition if needed following similar steps.

Similarly you can add the conditions to any transition in the workflow.

Hope this will help you.

Thanks,

Nikhil Naoghare.