Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-1323

As user, I can send a post function email using multi user mapping

    XporterXMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Release 5.1.4
    • Fix Version/s: Release 5.2.1
    • Component/s: None
    • Labels:
      None
    • Requirement Status:

      Release 5.2.1 - OK

      Description

      Xporter should allow users to map a "Multi User" custom field in post function emails.
      Currently, when a user try to perform that mapping and selects more than one user, the following error appears:

       Xporter-SendEmail ERROR admin 657x69641x1 i4mh3u 0:0:0:0:0:0:0:1 /secure/WorkflowUIDispatcher.jspa [c.x.jiraxporter.workflow.SendReportFunction$SendReportRunnable] Error performing send report post function
      java.lang.IllegalArgumentException: 'To' is a required field
              at com.atlassian.mail.Email.<init>(Email.java:58)
              at com.atlassian.jira.mail.Email.<init>(Email.java:61)
              at com.atlassian.jira.mail.Email.<init>(Email.java:46)
              at com.xpandit.jiraxporter.workflow.SendReportFunction$SendReportRunnable.prepareEmail(SendReportFunction.java:398)
              at com.xpandit.jiraxporter.workflow.SendReportFunction$SendReportRunnable.run(SendReportFunction.java:344)
              at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            Assignee:
            pmmr Pedro Rodrigues
            Reporter:
            fcri Filipe Ribeiro (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h