Hi!
I am using Scriptrunner web fragments,
I would like to know how to restrict web fragment for a specific request type of a specific portal.
In the documentation of Customizing the UI:
https://scriptrunner.adaptavist.com/5.6.8/jira/CustomisingUI.html
I can restrict web fragments to a certain portal using in the condition the following:
portal.id == 1
or a similar code
binding.variables.get("portal") && portal.id == 1I would like to ask if I can restrict my web fragment to a certain request type in the portal.
So my custom UI will appear only for certain request types (when creating a request type)
The condition should be something like:
portal.id == 1 && requestType.id == 22
Thanks in advance!