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.
Hi Paul,
You need to make the field "Required" which forces it to be completed.
To do this:
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
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.
Pending Reason field does show up when moving to status Pending but we need it to be mandatory so it cannot be left empty.
"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."
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?
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:
Field "Pending Reason" is included in the transition screen:
BUT field "Pending Reason" doesn't show up when creating a Field Required Validator for this transition:
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.
It looks like you're new here. Sign in or register to get started.