Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,132
Community Members
 
Community Events
168
Community Groups

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

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

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/

Done. Thank you very much

0 votes
Answer accepted
John Funk Community Leader Sep 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. 

Like John Funk likes this

Suggest an answer

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

Atlassian Community Events