Hello,
my problem looks like this:
We got a customcheckbox "complaint" with values (yes / no).
When an agent wants to close an issue, then the following 2 options would be...
if compliant = no -> the issue can be closed and nothing happens
if compliant = yes -> an new screen "Classify the compliant" should open with 5 required fields (drop downs and numerics), which will then be filled by an agent and after the values were saved the issue can be closed finally
Thanks in advance.
Hello @[deleted]
Since you have Script Runner plugin installed, a similar question has already been answered here
If you don't want to use parallel transitions, you can use the following way of implementing it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You would need an add-on for it.
For example, you could use the Power Scripts add-on.
You could use the Live Fields feature:
https://confluence.cprime.io/display/JJUPIN/Live+Fields
You could create a screen with an addition tab with the required field. Then you could wirte a script like this:
if(argv["customfield_10100"] == "Yes") {
lfShowTab("Fields Tab");
if (isNull(argv["customfield_10101"]) || isNull(argv["customfield_10102"]) || isNull(argv["customfield_10103"]) || isNull(argv["customfield_10104"]) || isNull(argv["customfield_10105"])) {
lfDisable("editSubmit");
} else {
lfEnable("editSubmit");
}
} else {
lfHideTab("Fields Tab");
}
customfield_10100 is the radio button field
customfield_10101 - customfield_10105 are the required fields
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, we already run Script Runner on this instance, could we also do it with this addon? I'm not really into coding but I thought about the option to add a script runner behaviour for this problem. My problem here would be, that the script only needs to be triggered if the value of "complaint" = yes otherwise the script shouldn't run and the ticket will be closed like usual.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You definitely can do it with the ScriptRunner. But I do not have a ready script :(
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.