Public/Project/ProjectTickets/Copy-CWMProjectTicket.ps1

function Copy-CWMProjectTicket {
    [CmdletBinding()]
    param(
        [Parameter(Mandatory=$false)]
        $ID,
        [Parameter(Mandatory=$false)]
        $Object
    )
    
    if (!$object) {
        $object = get-cwmProjectticket -id $id
    }
    
    $Endpoint = '/project/tickets'
    Invoke-CWMPostMaster -Object $Object -Endpoint $Endpoint
 }