Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I created a custom field and it is optional by the default and specific step in transition it should be a required, yes it will be required i can see it "as a required " when clicking on issue "edit link", but if i do not enter the value for the required field, and changing the transition, it will change, but the expected is to open a popup menus " edit window " for entering the required value
Is their any method to implement it ?
You will need to put the field on a transition screen and show that screen during the transition. That will give you the 'popup to access the field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The documentation for workflows discusses transition screens. You will need a plugin (I use JIRA suite utilities) if you want the field to be REQUIRED during the transition. The Behaviors plugin will also allow you make it required. The plugin documentation will show you how.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You actually dont need the plugin, you just need to have a transition screen.
If you make the field required in the field configuration for the project, then any time the field shows up on a screen (other then the view screen) you will be unable to proceed until you give it a value. So as long is it is required in the field configuration, if you use a transition screen, you will have to set a value.
Note that the transition screen will always pop up, even if there is already a value in that field. If you really want to be user friendly, you can make 2 transitions, one with a condition that the field is empty that uses the transition screen, and another with the condition that the field is not empty, that doesn't.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrew,
where can I set that a transition is automatically used if the field is empty?
When I open the transition and go to "conditions" then there are lots of possible conditions (permissions, assignee, ...) but empty fields (or similar stuff) are no option.
Best regards
Joachim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, good point. The same plugin that would have provided the validator would have also provided the condition. So you cant make 2 separate transitions without it.
And actually, I think I may have been mistaken above. If the field is required in the field configuration, it has to be set when the issue is created. I was mixing up the behavior of the resolution field with other required fields. You should test that behavior to be sure you are getting the behavior you expect.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found it in our JMWE plugin.
But unfortunately that is no solution that fits our workflow. (either we have to create too many additional transitions (we currently just use "from all status" in all our transitions) or have to accept, that the screen shows up even if the mandatory fields are filled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joachim,
Welcome to the community.
May I know which validator of JMWE are you using? Can you share a screenshot of what you have configured?
Regards,
Radhika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Radhika,
this has to be done via condition, not via validator.
the condition was: Scripted (Groovy) Condition (JMWE add-on)
The problem is, that in our workflow we can go from every status to every other status (we don't want to restrict this, as it hinders us more than it helps).
As you cannot have two transition from all status to a specific status (there can just be one!) we would have to replace the all-transition by 2 transitions for every other status. That is way too much.
(to seperate the transition that the screen just shows up if the mandatory field was not filled was no problem at all)
Best regards
Joachim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Joe Pitt & @Radhika Vijji _Innovalog_
Dear All,
I create a transition with a popup window that required a special Field it depends on the transition. How can I configured the popup window that the required Field need to be filed bevor the transition can completed? . Not all of them should be required Field but one or two.
THX
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.