Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-10818

Rewrite PrimaryEntityRelationCreate to be more concrete

This issue is archived. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    Description

      The check is used to create OS_WFENTRY records for an issue. We need to:

      1. rewrite the check and rename the class to be more concrete and less confusing
      2. rewrite the check to use a database join to find all the problem issues
      3. change the check so that it also looks at the current step record, as without the current step record the issue cannot progress through workflow
      4. ensure the check does not assume that the issue uses the default workflow
      5. javadoc the class

      Note that we already have an Integrity Check that checks the validity of OS_CURRENTSTEP records. The check is called WorkflowCurrentStepCheck. I guess the best thing to do is to combine PrimaryEntityRelationCreate with WorkflowCurrentStepCheck to ensure that the whole integrity is checked.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anton@atlassian.com AntonA
              Archiver:
              mandreacchio Michael Andreacchio

              Dates

                Created:
                Updated:
                Resolved:
                Archived: