An Issue is intended for the management of administrative activities like change requests, problem reports or work tasks, as part of a Change Management System Project in SystemWeaver. All users with Write or Change access rights to a project can create issues. By default, users with Write access can delete issues that they have created and users with Change access can delete any issue, not just the ones that they created. There is, however, a way of configuring further restrictions on the deletion of issues in a specific project using a Restrictions element in a Workflow configuration. This article describes how to do this. 


Prerequisites

  • You must have "Change" access rights to the CMS project or the Administrator role in the server.


The restriction can be set for a specific workflow status or all workflow statuses.


Example Configurations


Issue Deletion Not Allowed If Issue's Status=Closed

<Workflow initialStatus="Started">
    <Status name="Started">
        <NextStatuses>
            <NextStatus name="Closed"/>
        </NextStatuses>
    </Status>             
    <Status name="Closed"> 
        <Restrictions>
            <Restriction field="Delete" test="false"/>
        </Restrictions>
    </Status> 
</Workflow>

Issue Deletion Not Allowed For Any Status

<Workflow initialStatus="Started">                
  <Status name="Started">
    <NextStatuses>
      <NextStatus name="Closed"/>
    </NextStatuses>
  </Status>             
  <Status name="Closed"> 
  </Status>
  <All> 
    <Restrictions>
      <Restriction field="Delete" test="false"/>
    </Restrictions>
  </All>
</Workflow> 


Result

The Delete option will be grayed out for all users.