Class IssueParentProjectRelationCheck
java.lang.Object
com.atlassian.jira.appconsistency.integrity.check.CheckImpl<CheckAmendment>
com.atlassian.jira.appconsistency.integrity.check.IssueParentProjectRelationCheck
- All Implemented Interfaces:
Check<CheckAmendment>
Check that all issues are associated with valid projects. i.e. That the project ids specified by the issue exist
in the database. If not, delete such issue and its relations.
The delete operation will cause all the data related to the given issue except the attachments stored on the disk or S3 to be removed.
-
Field Summary
Fields inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
applicationProperties, FORMAT_LONG_WITHOUT_COMMA, id, ofBizDelegator, queryDslAccessor -
Constructor Summary
ConstructorsConstructorDescriptionIssueParentProjectRelationCheck(OfBizDelegator ofBizDelegator, QueryDslAccessor queryDslAccessor, ApplicationProperties applicationProperties, int id, IssueManager issueManager, ProjectManager projectManager) -
Method Summary
Methods inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
getI18NBean, getId, getIntegrityCheck, getLoggedInUser, getMaxResultsLimit, setIntegrityCheckMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.appconsistency.integrity.check.Check
getUnavailableMessage, isAvailable
-
Constructor Details
-
IssueParentProjectRelationCheck
public IssueParentProjectRelationCheck(OfBizDelegator ofBizDelegator, QueryDslAccessor queryDslAccessor, ApplicationProperties applicationProperties, int id, IssueManager issueManager, ProjectManager projectManager)
-
-
Method Details
-
getDescription
-
preview
- Throws:
IntegrityException
-
correct
- Throws:
IntegrityException
-
hasLongRunningFix
public boolean hasLongRunningFix()
-