Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-5648

Close Issue update does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • GroovyScriptEngine
    • None
    • Jira Groovy Library

    Description

      without problems:

      MutableIssue mutableParentIssue = issueManager.getIssueObject(id);
      mutableParentIssue.setEstimate(120);
      issueManager.updateIssue(mutableParentIssue.getAssignee(), mutableParentIssue, EventDispatchOption.ISSUE_UPDATED, false)

      doesn´t work:

      MutableIssue mutableParentIssue = issueManager.getIssueObject(id);
      mutableParentIssue.setStatusId("6"); // closed
      issueManager.updateIssue(mutableParentIssue.getAssignee(), mutableParentIssue, EventDispatchOption.ISSUE_UPDATED, false)

      why?

      Attachments

        Activity

          People

            guillaume Guillaume Sauthier
            jiradaniel Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: