Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page reports describes the operations performed by the add-on when running one of the the Approval Reindex is running. 

 

 

Table of Contents

WorkFlow Cleaning

 

for each workflow controls if it is not an instance of DefaultJiraWorkflow, if it's true removes the approval condition on each transaction of workflow management

Fix User On Approval

for each   approval controls if the comma separete for uses is different of ",", if it's true set the comma separete to ","

Check Configuration Fof Approval Mapping

for each approval controls if  the the separator for users column is different from "," then setting the separated to ","

Add permision on User_AWT

 

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 Approval Projects

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 Aapproval Projects

 for each approvalProjects check if this project exist , if not exist delete the approvalProjects

Check Approval Definers

for each approval definers check if associated project exist, if not exist delete the approvaldefiners, if not:

...

for each approvalDefiner found if is not associated with any IssueType belonging with project delete the approvalDefiners

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

...