Forums

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

Restrict transition based on issue type

Harold Prestage
Contributor
July 7, 2025

I am trying to setup a restriction based on issue type .e.g if an ticket is an incident and the priority is a blocker/Critical priority you cant transition to complete if the following fields are not completed, i had this setup before but its not working now, please help

4 answers

0 votes
Evgenii
Community Champion
July 7, 2025

Hi, @Harold Prestage 

You can achieve this using conditional branches. 
Set up a condition that hides the transition from the user if the required criteria are not met.

Here’s an example:

Screenshot_59.png

0 votes
Priyanka Khare
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.
July 7, 2025

Hello @Harold Prestage 

It sounds like a workflow condition or validator isn’t working like it used to.

Check the transition in the workflow (the one going to “Complete”) and make sure you’ve got a “Fields Required” validator or a ScriptRunner/Jira Expression condition tied to issue type = Incident and priority = Blocker/Critical.

You can also double-check that the field names match exactly and the validator is active. Sometimes changes to custom fields or workflow versions break it quietly. If in case everything else fails, try re-adding the condition ,it might’ve dropped off during a workflow update.

Let me know how it goes!

0 votes
Maciej Dudziak _Forgappify_
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.
July 7, 2025

Hi @Harold Prestage

I don't think it is possible out of the box. Did you use any apps that provided Jira expression-based validator? Or did you setup an Automation to revert the transition if condition were not met?

Cheers

0 votes
pawarsachin84
Community Champion
July 7, 2025

Hello @Harold Prestage ,

Welcome to the Atlassian Community! 😊

1. To enforce custom field completion for “Incident” issues with Blocker/Critical priority, use a Field Required Validator on the workflow transition to Done. Set a Jira expression condition like:

 


issue.issueType.name == "Incident" && (issue.priority.name == "Blocker" || issue.priority.name == "Critical")

Add your required fields and a clear error message. This blocks the transition cleanly.

Workflow Validator 

2. For Advanced Logic: Consider a Third-party plugin/apps like JMWE or JSU offer advanced validators with richer conditions.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events