Atlassian Epic and Parent Fields Jira REST API Deprecation

Atlassian have announced that parent and child issue associations are being standardised for company-managed and team-managed projects. As a result, they are deprecating the Epic Link and Parent Link custom fields in the REST API and webhooks.

Rewrite scripts with HAPI

We recommend using HAPI to access issues and their fields. HAPI gives you full access to all fields of the Parent issue, simplifies your code, improves readability, and helps safeguard it against future Atlassian deprecations.

You'll see these fields when working with Jira issues. See the before and after deprecation examples below:

groovy
def issueKey = 'TEST-1' def issue = get("/rest/api/2/issue/${issueKey}")   .header('Content-Type', 'application/json')   .asObject(Map)    //get Epic Link def epic = issue.fields.customfield_10014 epic
groovy
def issueKey = 'TEST-1' def issue = Issues.getByKey(issueKey) issue.getParentObject().getKey()

Similarly, with the Parent link, you can use HAPI to replace its usages and get access to the issue fields of the parent object.

Atlassian has published a detailed guide that provides examples, various API responses, and information on how they’re changingFor cases where rewriting the code to use HAPI isn’t straightforward, please refer to the guidance in Atlassian's documentation.

Endpoints with fields deprecated

Issue Retrieval APIs

Endpoints affectedRecommended alternative fieldType

GET /rest/api/[2|3]/issue/{issueIdOrKey}
Deprecated fields:

  • customfield_10014 (Epic Link)

  • customfield_10018 (Parent Link)

  • epic

ParentCompany-managed projects

Issue Creation & Update APIs

Endpoints affectedRecommended alternative fieldType 
  • POST /rest/api/[2|3]/issue
  • POST /rest/api/[2|3]/issue/bulk
  • PUT /rest/api/[2|3]/issue/{issueIdOrKey}
    Deprecated fields:
    • customfield_10014 (Epic Link)
    • customfield_10018 (Parent Link)
ParentCompany-managed projects and team-managed projects

Issue Type Metadata APIs

Endpoints affectedRecommended alternative field

POST /rest/api/[2|3]/issuetype
Deprecated field:

  • type

hierarchyLevel

Webhooks Affected

All webhook events where the payload includes issues with their fields for company-managed projects:

  • issuelink_created *

  • issuelink_deleted *

  • jira:issue_created

  • jira:issue_updated

* Where style is: jira_gh_epic_story or jira_subtask.

Issue Data

Webhook payloads affectedRecommended alternative fieldType 

All webhook events returning issue fields (e.g., jira:issue_created, jira:issue_updated, etc.)
Deprecated fields:

  • Epic Link

  • Parent Link

  • epic

ParentCompany-managed projects
Events affectedRecommended alternative fieldType

issuelink_created and issuelink_deleted
Deprecated styles:

  • jira_gh_epic_story

  • jira_subtask

  • Use parent field from jira:issue_created or jira:issue_updated

  • Use changelogIssueParentAssociation

Company-managed projects and team-managed projects

Changelog

Events affectedRecommended alternative fieldType

Any webhook with changelog (e.g., jira:issue_updated)
Deprecated changelog fields:

  • Epic Link

  • Parent Link

  • Parent

IssueParentAssociationCompany-managed projects and team-managed projects


On this page