java.lang.NoSuchMethodError: com.atlassian.greenhopper.api.customfield.ManagedCustomFieldsService.getRankCustomField()Lcom/atlassian/jira/bc/ServiceOutcome;

Atlassian JIRA | Shafqat Bhuiyan [Atlassian] | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    h3. Expected Behavior A plan should be created successfully on Portfolio regardless of the version of JIRA Agile used or a warning should be triggered suggesting an update to a compatible version of JIRA Agile. h3. Actual Behavior The below error appears in JIRA logs when trying to create a plan in JPO and the plan is not created successfully. {noformat} java.lang.NoSuchMethodError: com.atlassian.greenhopper.api.customfield.ManagedCustomFieldsService.getRankCustomField()Lcom/atlassian/jira/bc/ServiceOutcome; at com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640.getRank(AgileCustomFieldsServiceBridge640.java:100) at com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640.access$300(AgileCustomFieldsServiceBridge640.java:17) at com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640$1.perform(AgileCustomFieldsServiceBridge640.java:48) at com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640$1.perform(AgileCustomFieldsServiceBridge640.java:43) at com.atlassian.jpo.agile.api.service.BundleServiceAccessor.perform(BundleServiceAccessor.java:39) at com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640.getCustomFields(AgileCustomFieldsServiceBridge640.java:43) at com.radiantminds.roadmap.jira.common.components.utils.customfields.CustomFields.getJiraAgileData(CustomFields.java:133) at com.radiantminds.roadmap.jira.common.components.extension.issues.data.hierarchy.LuceneHierarchyResult.init(LuceneHierarchyResult.java:93) {noformat} h3. Steps to Reproduce # Install JIRA Agile 6.3.13.1 or an earlier version; # Install JIRA Portfolio version 1.10.5; # Try to create a plan in JPO; h3. Workaround Upgrade JIRA Agile to version 6.4 or later.

    Atlassian JIRA | 2 years ago | Shafqat Bhuiyan [Atlassian]
    java.lang.NoSuchMethodError: com.atlassian.greenhopper.api.customfield.ManagedCustomFieldsService.getRankCustomField()Lcom/atlassian/jira/bc/ServiceOutcome;
  2. 0

    h3. Expected Behavior A plan should be created successfully on Portfolio regardless of the version of JIRA Agile used or a warning should be triggered suggesting an update to a compatible version of JIRA Agile. h3. Actual Behavior The below error appears in JIRA logs when trying to create a plan in JPO and the plan is not created successfully. {noformat} java.lang.NoSuchMethodError: com.atlassian.greenhopper.api.customfield.ManagedCustomFieldsService.getRankCustomField()Lcom/atlassian/jira/bc/ServiceOutcome; at com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640.getRank(AgileCustomFieldsServiceBridge640.java:100) at com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640.access$300(AgileCustomFieldsServiceBridge640.java:17) at com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640$1.perform(AgileCustomFieldsServiceBridge640.java:48) at com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640$1.perform(AgileCustomFieldsServiceBridge640.java:43) at com.atlassian.jpo.agile.api.service.BundleServiceAccessor.perform(BundleServiceAccessor.java:39) at com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640.getCustomFields(AgileCustomFieldsServiceBridge640.java:43) at com.radiantminds.roadmap.jira.common.components.utils.customfields.CustomFields.getJiraAgileData(CustomFields.java:133) at com.radiantminds.roadmap.jira.common.components.extension.issues.data.hierarchy.LuceneHierarchyResult.init(LuceneHierarchyResult.java:93) {noformat} h3. Steps to Reproduce # Install JIRA Agile 6.3.13.1 or an earlier version; # Install JIRA Portfolio version 1.10.5; # Try to create a plan in JPO; h3. Workaround Upgrade JIRA Agile to version 6.4 or later.

    Atlassian JIRA | 2 years ago | Shafqat Bhuiyan [Atlassian]
    java.lang.NoSuchMethodError: com.atlassian.greenhopper.api.customfield.ManagedCustomFieldsService.getRankCustomField()Lcom/atlassian/jira/bc/ServiceOutcome;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.atlassian.greenhopper.api.customfield.ManagedCustomFieldsService.getRankCustomField()Lcom/atlassian/jira/bc/ServiceOutcome;

      at com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640.getRank()
    2. com.atlassian.jpo
      AgileCustomFieldsServiceBridge640.getCustomFields
      1. com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640.getRank(AgileCustomFieldsServiceBridge640.java:100)
      2. com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640.access$300(AgileCustomFieldsServiceBridge640.java:17)
      3. com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640$1.perform(AgileCustomFieldsServiceBridge640.java:48)
      4. com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640$1.perform(AgileCustomFieldsServiceBridge640.java:43)
      5. com.atlassian.jpo.agile.api.service.BundleServiceAccessor.perform(BundleServiceAccessor.java:39)
      6. com.atlassian.jpo.agile.api.customfields.AgileCustomFieldsServiceBridge640.getCustomFields(AgileCustomFieldsServiceBridge640.java:43)
      6 frames
    3. com.radiantminds.roadmap
      LuceneHierarchyResult.init
      1. com.radiantminds.roadmap.jira.common.components.utils.customfields.CustomFields.getJiraAgileData(CustomFields.java:133)
      2. com.radiantminds.roadmap.jira.common.components.extension.issues.data.hierarchy.LuceneHierarchyResult.init(LuceneHierarchyResult.java:93)
      2 frames