Purpose
This returns a new updated PFP before the cloning of an issue.
Applies To
Edit Issue screen
Signature
public ProblemFormParam ucCloneSetParams(
ProblemFormParam pfp,
SesameSession session,
Connection dbconn )
Notes
Any specific adjustments needed in the parameters can also be done here.
Example
The following example clears out a couple of fields in the newly cloned record and sets the STATUS to OPEN.
public ProblemFormParam ucCloneSetParams( ProblemFormParam pfp,
SesameSession session,
Connection dbconn )
throws Exception
{
// Modify form parameters
pfp.remove("DETAIL_DISPLAY");
pfp.remove("CLONE_AS");
pfp.put("STATUS", "OPEN");
return pfp;
}