Forums

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

Mandatory Fields Issue

Naresh
Contributor
November 1, 2022

Hi,

 

Data center 8.20.x

 

While creating a ticket, in create screen providing the values to "mandatory fields".

When i change the status of the ticket, again these mandatory fields are asking for values.

Have checked all the permissions, conditions, validations and everything is right.

Why the mandatory custom fields are asking for values (after status change) even after providing the values in create screen.

 

2 answers

0 votes
Nic Brough -Adaptavist-
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.
November 2, 2022

This does not sound right.

Jira's mandatory fields are done by having a "field configuration" that tells it to demand a field from create and throughout the lifecycle. 

Transition screens will let people blank out mandatory fields, but will not let a transition proceed if the field is empty.  So the obvious way to get this behaviour is to put the fields on the transition screen, and watch people blank them out before it tells them they can not.  The important bit here though is that the fields will be presented with their current values, not defaulted back to empty.

The edit screen works the same - it won't let you empty them out.

So, the only ways to get what you are seeing is

  1. Some code or script is emptying the field out, bypassing the mandatory flag
  2. They are not mandatory, you've got a validator checking they are filled 

Quick test - can you leave these mandatory fields blank when trying to create a new issue?

0 votes
Alex Koxaras _Relational_
Community Champion
November 2, 2022

Hi @Naresh 

On your workflow check during the specific transition, if a screen exists. If it does, then simply remove it.

  • Go to project > project settings
  • Workflows > Edit the corresponding workflow
  • Find the specific transition and check if a screen is placed there
  • If it is, remove it
Naresh
Contributor
November 2, 2022

@Alex Koxaras _Relational_ 

I have checked the transition, but there is no screens attached to the transition.

 

As once i give the data into the fields in create screen, that data is not shown in the view screen.

Alex Koxaras _Relational_
Community Champion
November 2, 2022

Can you please provide a few screenshots? One from the create screen and one from the transition. A screenshot of your workflow transition (options) would be handy.

Suggest an answer

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

Atlassian Community Events