Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-10333

Updating epic link field through REST causes 500 Internal Error

      Was raised as part of a support ticket.
      This seems to be caused because the EpicLinkCFType returns an IssueImpl object, which at the side of JIRA gets casted to a String (which throws an exception) (see TextCustomFieldOperationsHandler.getInitialValue()).
      It's considered to be a TextCustomFieldOperationsHandler because of this check in CustomFieldImpl:

      public RestFieldOperationsHandler getRestFieldOperation()
          {
              CustomFieldType customFieldType = getCustomFieldType();
              if (customFieldType instanceof RestCustomFieldTypeOperations)
              {
                  return ((RestCustomFieldTypeOperations) customFieldType).getRestFieldOperation(this);
              }
              return new TextCustomFieldOperationsHandler(this, getI18nHelper());
          }
      

            [JSWSERVER-10333] Updating epic link field through REST causes 500 Internal Error

            Edson Araujo made changes -
            Remote Link Original: This issue links to "JSEV-212 (JIRA Server)" [ 172985 ] New: This issue links to "JSEV-212 (JIRA Server (Bulldog))" [ 172985 ]
            Bugfix Automation Bot made changes -
            Minimum Version New: 6.04
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2852206 ] New: JAC Bug Workflow v3 [ 2937101 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2546027 ] New: JAC Bug Workflow v2 [ 2852206 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1550701 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2546027 ]
            Hoang Dong (Inactive) made changes -
            Labels Original: affects-cloud affects-server ecosystem fixme pse-request support-dos New: affects-cloud affects-server da-regression ecosystem fixme pse-request support-dos
            Yilin (Inactive) made changes -
            Link New: This issue causes JSW-13429 [ JSW-13429 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 909195 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1550701 ]
            Bob Swift made changes -
            Link New: This issue causes JSW-13830 [ JSW-13830 ]
            Eve (Inactive) made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 179180 ]

              Unassigned Unassigned
              jderaedt Jeroen De Raedt
              Affected customers:
              70 This affects my team
              Watchers:
              51 Start watching this issue

                Created:
                Updated:
                Resolved: