A custom field is/isn't initialized(initialized-condition)
Hi
We should check on step Resolve the filed Request type is filled or not. This field is created based on add-on Extension for JSD.See attachment.It is just copy values from Customer Request Type field Now the problem is that if this value is not selected we cannot use this condition for checking.Each time the transition passes see attachment
Comments (13)
-
repo owner -
reporter May be value No Match is not null value.I attach conditions.Is there any validator from you that I could use for this?
-
reporter - attached CONDITION.PNG
-
repo owner Try using "Boolean condition with math, date-time or text-string terms" with the following boolean expression:
%{nnnnn} != null
replacing nnnnn with the field code of "Request type" in your particular JIRA instance.
-
reporter no it does not work
-
repo owner The behavior you are implementing with that condition is that the transition will only be shown when field "Request type" shows "No match". Is it what you intend to do?
-
reporter the idea is if Request type is not filled do not allow to make transition Resolve
-
repo owner Then your configuration is "A custom field is/isn't initialized" was not correct. You should have used is initialized instead of is not initialized.
Please, try that configuration.
-
reporter I have tried this also but it does not work
-
repo owner Can you please explain in more detail why is it not working? Is the transition shown when it should be hidden, or is the opposite case?
Please, try refreshing your browser after editing "Request type", since when you set that particular field the transition is not shown until you refresh the browser.
-
repo owner Fatima, I'm available for a video-conference until 17:00 UTC. I would like to see the failure of that validation in direct.
-
reporter Hi Fidel
We just want simple case if in Transition Screen Request Type is selected then allow transition to execute.If not then do not allow.
We just achieved our goal.The vendor released the new version of add-on.See link: https://intenso.atlassian.net/wiki/pages/viewpage.action?pageId=49446964
Thanks for support
-
repo owner - changed status to resolved
Ok, Fatima. I close the issue.
- Log in to comment
Hi Fatima,
I have used "A custom field is/isn't initialized" condition successfully in order to make Request type (of Extension JSD) field mandatory. If you don't set the field the transition is not shown.
I don't know why it's not working for you. Can you please attach a screenshot with condition's tab of your transition configuration? I need to see all the conditions you have in the transition.