Skip to end of banner
Go to start of banner

Initialize field values for a transition screen

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Problem

You want a user to change the default field values in the transition screen.

Solution

You can use Live Fields to resolve this issue. For details, go to our documentation on accessing the current screen with live fields.

Let's consider we have a rule, by setting the assignee on the resolve issue screen to the reporter. This allows the reporter to test and confirm if the issue is fixed. If so, the reporter should close it.

if(argv["screen"] == "trans_5") {
 //On the "Resolve Issue" screen, set the assignee to the reporter
 // so the user can test it and confirm that the issue is fixed.
 lfSet("assignee", reporter);
 lfDisable("assignee");
}

The code above prevents the user to change the value of the assignee.

  • No labels