Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-2820

Bulk-fix resolution does not actually close SLA

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 5.3.16
    • Fix Version/s: 6.1.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      SR4J Sprint 77
    • Critical Points:
      0.5

      Description

      Add option to fire event for SLA.

      The built-in script Bulk-fix resolution does not close the SLA of a Service Desk issue.

      Please see attached ticket for how this was resolved for the customer using the following code:

      if (!issue.getResolution()) { IssueInputParameters issueInputParameters = new IssueInputParametersImpl([:]) Resolution resolution = resolutionManager.getResolutionByName("Done") issueInputParameters.setResolutionId(resolution.getId()) //Replace 761 with "Resolve this issue" ID from relevant workflow IssueService.TransitionValidationResult validationResult = issueService.validateTransition(user, issue.id, 761, issueInputParameters) def errorCollection = validationResult.errorCollection log.debug(errorCollection) if (! errorCollection.hasAnyErrors()) { issueService.transition(user, validationResult) } }
      

      We should look to update Bulk-fix resolution to handle Service Desk issues to.

        Attachments

          Structure

            Activity

              People

              Assignee:
              jechlin Jamie Echlin
              Reporter:
              rgiddings Robert Giddings
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel