functions/Remove-RGIssue.ps1

function Remove-RGssues {
    param (
        [Parameter(Mandatory = $true)]
        [string] $IssueId
    )
    begin {}
    process {    
        $TempUrl = Get-RUri -Uri ("{0}/issues/{0}.json" -f $script:RedmineRootUri, $IssueId) -Query $TempQueryString
        $response = Invoke-RGRequest -Method 'DELETE' -Uri $TempUrl
        return $response
    }
}