Remote version not validated when creating new issue over SOAP

XMLWordPrintable

    • 3.13

      When creating new issue via SOAP in Java with the following code and using nonexistent version JIRA throws NullPointerException rather then picking it up in the validation.

      RemoteVersion version = new RemoteVersion();
      version.setId("1111");
      RemoteVersion[] remoteVersions = new RemoteVersion[]

      { version }

      ;
      issue.setFixVersions(remoteVersions);

            Assignee:
            Nick Menere [Atlassian] (Inactive)
            Reporter:
            Rafal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h