...
- Workflow Cleaning. For each workflow, exception made for the Default JIRA Workflow, the routine removes the approval condition on each transition
- Update the user list separator. For each Approval, the routine checks, on the Users field, if the user list separator is the comma. If the check returns true, the separator ',' is replaced by the separator '&'
- Grant the user set on AWT global setting with permission to run workflow transition on all projects
- ??Check Approval Mapping. For each ApprovalMapping chek if substantial, if it is not true remove all ApprovalMappingRel and ApprovalMRA associated of ApprovalMapping to it ????
- ??Check Issue Approval. for each IssueApproval of type ISSUE_APPROVAL_TYPE_FOR_SINGLE_ISSUE check if the HasConfiguratioForSingleIssue is correctly setting , else get the Issue Object, if exist delete the issueApproval ??
- ??Check Approval Projects. for each approvalProjects check if this project exist , if not exist delete the approvalProjects ??
- Check the Permissions -> Approval Request -> Enabled Projects. If the Project doesn't exist data are cleaned.
- Check the Permissions -> Define approval for single issue - Enabled Projects. If the Project doesn't exist data are cleaned.
- Approval Definers. For each Approval Definers check if the associated project exists. If the associated project do not exist, the routine deletes the Approval Definers, if not:Check the Permissions to notify an Approval Request with respect to a Project and an Issue Type. If the Project and/or the Issue Type don't exist data are cleaned.
- Check the Permissions to view the Define Approval button with respect to a Project and an Issue Type. If the Project and/or the Issue Type don't exist data are cleaned.
- find all issueType associated with the project
- find all ApprovalDefiners associated with the project
...