This returns a new updated PFP before the cloning of an issue.
Edit Issue screen
public ProblemFormParam ucCloneSetParams(
ProblemFormParam pfp,
SesameSession session,
Connection dbconn )
Any specific adjustments needed in the parameters can also be done here.
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;
}