Forums

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

Can you associate a screen to a validation rule?

William Chambers July 10, 2022

I think I know the answer already but worth asking the big brains. I've set up a validation to block a transition from Ready to Start to In Progress if there is no Technical Approach field value.

As you all know the transition validation error message isn't very prominent and it will just result in people thinking they've transitioned it even though it hasn't moved.

I've created a 'Technical approach missing' screen that I would like to display if that validation rule is triggered. Is there a way to associate a screen only when there is a validation error? 

If not, I reckon I'll try a third party extension like Jira misc workflow extension and see how that goes.

1 answer

1 accepted

2 votes
Answer accepted
Chu Dam
Community Champion
July 11, 2022

Hi @William Chambers 

A screen can only be associated with a transition inside a workflow, here is the doc about that: https://confluence.atlassian.com/jirakb/map-a-screen-to-a-workflow-transition-in-jira-server-720634253.html

What will happen if you have a validation rule called "Field Required Validator" on the transition: 

  1. the screen will pop on issue move or status change using the transition
  2. this will allow users to fill fields with data such as the Technical Approach field you need
  3. if users don't provide a value for the Technical Approach field then the validation will be triggered... 
  4. you can add an custom error message on the Field Required Validator

Here is the doc about validators: 
https://confluence.atlassian.com/adminjiraserver/advanced-workflow-configuration-938847443.html#Advancedworkflowconfiguration-validators

I hope this helps. 

Cheers,
Dam. 

Suggest an answer

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

Atlassian Community Events