This page describes the operations performed by the add-on when running one of the operations available on the Troubleshooting and Support screen.
Reindexing
Navigate the Reindexing tab on the Troubleshooting and Support screen.
Jus click Re-index to automatically run the following operations:
- 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:
- find all issueType associated with the project
- find all ApprovalDefiners associated with the project
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
WorkFlow Cleaning
Navigate the Reindexing tab on the Troubleshooting and Support screen.
Jus click Remove Approval Condition to automatically run a routine that for each workflow, exception made for the Default JIRA Workflow, removes the approval condition on each transition.
If all workflows have been successful cleaned a message informing is returned.
If any workflow has not been successful cleaned a message reports the list of workflows still affected by Approval Conditions.
Support Request
Navigate the Support Request tab on the Troubleshooting and Support screen.
Accomplish the suggested steps to generate a file reporting information extracted from your JIRA allowing to investigate any problem with Herzum Approval add-on.
The file will include the following information:
- Other information (Contact Email, Summary,Priority, Description)
Take care to enable Jira Application Outgoing and Incoming Mail logs in order to allow the add-on retrieving these information.