Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-69968

DefaultIssueService.validateCreate method return UnsupportedOperationException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 8.4.2, 8.5.0
    • 8.4.0
    • Java API
    • None

      Issue Summary

      com.atlassian.jira.bc.issue.DefaultIssueService.validateCreate method in JIRA 8.4.0 Java API return java.lang.UnsupportedOperationException: Not implemented when developing apps for Atlassian Data Center products.

      Environment

      • Jira 8.4 Data Center

      Steps to Reproduce

      1. Set skipScreenCheck parameter to "true"
      2. Call com.atlassian.jira.bc.issue.DefaultIssueService.validateCreate method

      Expected Results

      Create issue without error.

      Actual Results

      Following error displayed.

      java.lang.UnsupportedOperationException: Not implemented
          at com.atlassian.jira.issue.fields.ArchivedDateSystemField.getRelevantParams(ArchivedDateSystemField.java:54)
          at com.atlassian.jira.issue.fields.AbstractOrderableField.populateFromParams(AbstractOrderableField.java:185)
          at com.atlassian.jira.web.action.issue.IssueCreationHelperBeanImpl.validateCreateIssueFields(IssueCreationHelperBeanImpl.java:80)
          at com.atlassian.jira.web.action.issue.IssueCreationHelperBeanImpl.validateCreateIssueFields(IssueCreationHelperBeanImpl.java:57)
          at com.atlassian.jira.bc.issue.DefaultIssueService.validateAndCreateIssueFromFields(DefaultIssueService.java:782)
          at com.atlassian.jira.bc.issue.DefaultIssueService.validateCreate(DefaultIssueService.java:742)
          at com.atlassian.jira.bc.issue.DefaultIssueService.validateCreate(DefaultIssueService.java:202)
          at com.atlassian.jira.bc.issue.IssueService$validateCreate$0.call(Unknown Source)
      

      Notes

      Related com.atlassian.jira.issue.fields.ArchivedDateSystemField which is added Jira 8.4

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available.

              izinoviev Ilya Zinoviev (Inactive)
              tsuzuki@atlassian.com Tomoko Suzuki
              Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: