How to make "Pending Reason" mandatory when moving to status Pending?

Paul Heath Armengol
Contributor
February 1, 2023

How to make Pending Reason mandatory when moving to status Pending?

I've tried adding a WF transition with Field Required Validator but it does not include "Pending Reason" as one of the Fields.

 

2 answers

2 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 1, 2023

Hi Paul,

First we need to figure out why the field is not showing up. Check the Context for the field to be sure that it is either Global or includes the Project you are working with. 

Another way to do this is to click the create button then in the popup, click the 3 dots menu and select Find your field. Search for the Pending Reason field to see what it says. 

Paul Heath Armengol
Contributor
February 1, 2023

Pending Reason field does show up when moving to status Pending but we need it to be mandatory so it cannot be left empty.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2023

Okay, you can see the field on the screen, but you can't select it in the Field Required validator? If so, this a field you have recently added? And have you refreshed your Workflow screen to make sure it is picking up the latest values? 

Paul Heath Armengol
Contributor
February 2, 2023

Hi John and thanks for your time,

It's not a new field, it's included in the Default Field Configuration.

Here are some screen that show what's happening:

Workflow transition screen:Screenshot_1.jpg

 

Field "Pending Reason" is included in the transition screen:

Screenshot_2.jpg

 

BUT field "Pending Reason" doesn't show up when creating a Field Required Validator for this transition:

Screenshot_3.jpg

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2023

Okay, that's what I thought was happening. Is there a Context associated with the field? 

And what type of field is it? 

Paul Heath Armengol
Contributor
February 2, 2023

It's a Select List (single choice) field and this is the context assciated with it:

Screenshot_5.jpgScreenshot_4.jpg

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2023

Hmm, I don't know what else to tell you. You probably need to open a support ticket with Atlassian. Sorry. Please post the resolution back here so future readers will know what happened. 

https://support.atlassian.com/contact/#/

Paul Heath Armengol
Contributor
February 2, 2023

I reckon what will happen will either be 

"There is already a suggestion ticket with Atlassian. Vote and watch this for updates"

or 

"There's an app in the marketplace that meets your needs"

 

Thanks anyway John!

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2023

No, I think there is actually something else going on. There is no reason it should not be showing. I have never had that happen before outside of the things you have already tried. 

Paul Heath Armengol
Contributor
February 2, 2023

Solved.

Like John Funk likes this
0 votes
Suzi Firth
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.
February 1, 2023

Hi Paul,

You need to make the field "Required" which forces it to be completed.

To do this:

  1. Go to Settings
  2. Select Issues
  3. Select Field Configurations
  4. Find Pending Reason
  5. Select Required

Please note, that ALL screens associated with the "Pending Reason" field will now require this field to be entered so make sure you have configured the Pending Reason field to the right transition screens.

Suzi

Paul Heath Armengol
Contributor
February 2, 2023

"Pending Reason" should only be mandatory when moving to status Pending via the  Pending Reason screen so we can't make Required by default.

 

"Jira's interpretation of "required" from a project's field configuration on some custom field means that the field is now required across all screens available to that project, regardless if the screen doesn't actually display that particular field."

Like Carla Norman likes this
Suzi Firth
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.
February 2, 2023

I see what you mean now. I read through your comment thread with John and probably needed to a bit more information on what you were trying to achive.

I see your answer, and that's exactly what I was going to suggest to you once I saw your screenshot above of the dropdown menu.

Suggest an answer

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

Atlassian Community Events