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

Listener Create sub-task throws exception for bulk move operation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.0.14
    • Fix Version/s: 5.3.9
    • Component/s: Listeners
    • Labels:
      None
    • Critical Points:
      0

      Description

      Steps to reproduce:

      1. Create a sub-task listener for a project with Events = "Issue Updated" , target issue type = "Sub-task" , field to copy = "All"
      2. Now do a do Bulk operation for a an issue.

      Throws groovy.lang.MissingFieldException for assigneeId and does not create the sub task.

      groovy.lang.MissingFieldException: No such field: assigneeId for class: com.atlassian.jira.web.bean.BulkEditBeanImpl$MutableIssueFromSubtaskToIssue
      at com.onresolve.scriptrunner.canned.jira.utils.AbstractCloneIssue$_copySystemFieldValues_closure9.doCall(AbstractCloneIssue.groovy:452)
      at com.onresolve.scriptrunner.canned.jira.utils.AbstractCloneIssue.copySystemFieldValues(AbstractCloneIssue.groovy:403)
      at com.onresolve.scriptrunner.canned.jira.utils.AbstractCloneIssue.doScript(AbstractCloneIssue.groovy:156)
      at com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.CreateSubTask.super$2$doScript(CreateSubTask.groovy)
      at com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.CreateSubTask.doScript(CreateSubTask.groovy:131)
      

        Attachments

        1. image001.png
          image001.png
          0.6 kB
        2. image002.png
          image002.png
          0.6 kB
        3. image003.png
          image003.png
          0.7 kB
        4. image004.png
          image004.png
          0.8 kB
        5. image005.jpg
          image005.jpg
          13 kB

          Activity

            People

            Assignee:
            jyamdogo Joshua Yamdogo
            Reporter:
            ahasan Ashraful Hasan [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: