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

Bulk-fix resolution does not actually close SLA

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Done
    • 5.3.16
    • 6.1.0
    • None
    • None
    • SR4J Sprint 77
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: