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,
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, that's what I thought was happening. Is there a Context associated with the field?
And what type of field is it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's a Select List (single choice) field and this is the context assciated with it:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"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."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.