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

As a user, i want to add/update an issue Epic link by using REST API

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for JIRA Software Server. Using JIRA Software Cloud? See the corresponding suggestion.

      When updating an issue epic link information using PUT action against /rest/api/2/issue, the status returned is 204 but the changes made is not reflected in the issue.

      curl -D- -u admin:admin -X PUT --data @/Users/Vicky/Desktop/test.json -H "Content-Type: application/json" http://localhost:8085/522/rest/api/2/issue/test-1
      

      Sample of test.json:

      {
      	"fields":
      	{
      		"customfield_10006": "TEST-3"
      	}
      }

      TEST-3 is an issue of the type Epic

      Perhaps, the reason why we are not able to update/edit the Epic Link custom field value is because the value itself is not showing in the Edit Screen, although the field itself has been mapped to the screen in the screen configuration. Anyway, it will be great if we are able to update an issue Epic Link information via REST API.

          Form Name

            [JSWSERVER-7017] As a user, i want to add/update an issue Epic link by using REST API

            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3069418 ] New: JAC Suggestion Workflow 3 [ 3663475 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2626620 ] New: JAC Suggestion Workflow [ 3069418 ]
            Rachel Lin (Inactive) made changes -
            Workflow Original: JIRA PM Feature Request Workflow v2 - TEMP [ 2327689 ] New: Confluence Workflow - Public Facing v4 [ 2626620 ]
            Status Original: Closed [ 6 ] New: Resolved [ 5 ]
            Katherine Yabut made changes -
            Workflow Original: JIRA PM Feature Request Workflow v2 [ 2044532 ] New: JIRA PM Feature Request Workflow v2 - TEMP [ 2327689 ]
            Katherine Yabut made changes -
            Workflow Original: JIRA PM Feature Request Workflow v2 - TEMP [ 2032771 ] New: JIRA PM Feature Request Workflow v2 [ 2044532 ]
            Katherine Yabut made changes -
            Workflow Original: JIRA PM Feature Request Workflow v2 [ 736971 ] New: JIRA PM Feature Request Workflow v2 - TEMP [ 2032771 ]
            jonah (Inactive) made changes -
            Description Original: When updating an issue epic link information using PUT action against {{/rest/api/2/issue}}, the status returned is 204 but the changes made is _not_ reflected in the issue.

            {code}
            curl -D- -u admin:admin -X PUT --data @/Users/Vicky/Desktop/test.json -H "Content-Type: application/json" http://localhost:8085/522/rest/api/2/issue/test-1
            {code}

            Sample of test.json:
            {code}
            {
            "fields":
            {
            "customfield_10006": "TEST-3"
            }
            }{code}

            (i) TEST-3 is an issue of the type Epic

            Perhaps, the reason why we are not able to update/edit the Epic Link custom field value is because the value itself is not showing in the Edit Screen, although the field itself has been mapped to the screen in the screen configuration. Anyway, it will be great if we are able to update an issue Epic Link information via REST API.
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This suggestion is for *JIRA Software Server*. Using *JIRA Software Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/JSWCLOUD-7017].
              {panel}

            When updating an issue epic link information using PUT action against {{/rest/api/2/issue}}, the status returned is 204 but the changes made is _not_ reflected in the issue.

            {code}
            curl -D- -u admin:admin -X PUT --data @/Users/Vicky/Desktop/test.json -H "Content-Type: application/json" http://localhost:8085/522/rest/api/2/issue/test-1
            {code}

            Sample of test.json:
            {code}
            {
            "fields":
            {
            "customfield_10006": "TEST-3"
            }
            }{code}

            (i) TEST-3 is an issue of the type Epic

            Perhaps, the reason why we are not able to update/edit the Epic Link custom field value is because the value itself is not showing in the Edit Screen, although the field itself has been mapped to the screen in the screen configuration. Anyway, it will be great if we are able to update an issue Epic Link information via REST API.
            jonah (Inactive) made changes -
            Link New: This issue relates to JSWCLOUD-7017 [ JSWCLOUD-7017 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: rest rest_api triaged New: affects-server rest rest_api triaged
            Ignat (Inactive) made changes -
            Fix Version/s New: 6.7.14 [ 62019 ]
            Fix Version/s New: 7.1.4 Server [ 61618 ]
            Fix Version/s Original: Next Stable Release [ 60092 ]
            Resolution New: Duplicate [ 3 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]

              mpazik Marek Pazik (Inactive)
              vkharisma vkharisma
              Votes:
              7 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: