Forums

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

Include a screen to a workflow transition in a issue field configuration scheme

Eduardo García Moreno
Contributor
September 21, 2022

Hello!

I have created a screen (PDCD - Proyectos de desarrollo Pantalla transición Cancelado) to request a field (“motivo cancelación”) when transitioning between 2 states of a workflow.

Pantalla.jpg

 

Pantalla-campo.jpg

I need that field to be required. To do this I have created a issue field configuration (Configuración campos proyectos de desarrollo - transición cancelado) in which I have set the " motivo cancelación " field as mandatory.

 Configuración campos.jpg

However, I don't know how this issue field configuration is assigned to the issue field configuration scheme, so that when making the transition the field is mandatory.

esquema.jpg

 

esquema2.jpg

Thank you

 

2 answers

2 accepted

2 votes
Answer accepted
Trudy Claspill
Community Champion
September 21, 2022

Hello @Eduardo García Moreno 

When you make a field Mandatory in the Field Configuration then that field will be mandatory all the time - when issues are created, edited, and transitioned.

If you want to make the field required only when the transition occurs, then you need to add the screen to the Transition in the Workflow, and you need to add a Validator to the Transition in the Workflow to check that the field has a value.

This document provides information on adding a screen to a workflow transition.

https://confluence.atlassian.com/jirakb/map-a-screen-to-a-workflow-transition-in-jira-720634253.html

This document provides information on Advanced Workflow configuration including Validators.

https://support.atlassian.com/jira-cloud-administration/docs/configure-advanced-issue-workflows/

Eduardo García Moreno
Contributor
September 22, 2022

Done. Thank you very much

0 votes
Answer accepted
John Funk
Community Champion
September 21, 2022

Hi Eduardo,

Adding the field to the Field Configuration will make it mandatory when the issue is created. If you just want it to be mandatory when you transition the issue, then add a Validator to the transition for Field Required. 

Eduardo García Moreno
Contributor
September 22, 2022

Thanks

Like John Funk likes this

Suggest an answer

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

Atlassian Community Events