atlassian-python-api icon indicating copy to clipboard operation
atlassian-python-api copied to clipboard

linking the issue with epic_ticket fails

Open dineshr93 opened this issue 1 year ago • 1 comments

Hi

While trying this example https://github.com/atlassian-api/atlassian-python-api/pull/635/commits/14ad7d33f99021815e4c69a90ba6bf8886552ce3 I got this

{'errorMessages': [], 'errors': {'epic': "Field 'epic' cannot be set. It is not on the appropriate screen, or unknown."}}

One difference though is our jira epic field doesn't have any custom id and directly mentioned as epic. issue_meta data

{
  "self": "https://jira.com/rest/api/2/issuetype/12",
  "id": "12",
  "description": "Created by Jira Software - do not edit or delete. Issue type for a big user story that needs to be broken down.",
  "iconUrl": "https://jira.com/secure/viewavatar?size=xsmall&avatarId=2308&avatarType=issuetype",
  "name": "Epic",
  "subtask": false,
  "avatarId": 2308
}

I tried issue

jira.issue_create(fields)
jira.issue_create_or_update(fields)
jira.issue_field_value(key, field)

all throws not an appropriate screen error. My epic option is only available in the edit screen. not sure how to establish issue with an epic link.

is there any way to update an existing issue with an epic ticket ?

dineshr93 avatar Apr 14 '23 08:04 dineshr93