When a user (not a service agent) is creating a (certain type of ) request I would like set fields like f.ex. components or the description.
In Jira software I am used to using life fields for that with s.th. like
if((argv["screen"] == "create") ) {
lfSet("components", "WOM");
...
In JIRA service desk this only works for the support agents view.
I would like to set fields immediately when a *customer* is creating a request in the customer view. I tried in addition to the upper code block this
if(argv["requestTypeId"] == "208") {
lfSet("components", "WOM");
...
but it does not work.