...
- 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 the Issue Approval data consistency. In particular, if Issue id, Source status id Approval id or Transition id do not exist, data are cleaned.
- ??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.
- 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.
- Restore Approval Conditions on the Workflows For each workflow, exception made for the Default JIRA Workflow, the routine adds the approval condition on each transition.
Reindex All Issue Approvals
for each distinct Issue Approval reindex Single Issue
Add Conditions In Each Workflow
for each workflow that is not instance of JIra Default Workflow setting Workflow Condition
Return
if exist issue to be Refreshed return number of issue, if not return reindex message
...
- Check if existing condition/s and/or validator/s on same workflow/s have not allowed to automatically transition one/more issue/s. If any issue exists, the number of affected issues is returned and it's allowed bulk transitioning all issues.
WorkFlow Cleaning
Navigate the Reindexing tab on the Troubleshooting and Support screen.
...