Unable to create epic from Api
Hi
I'm trying to create an epic in JIRA from python using create_issue method. Method:
jira.create_issue(project=project_key, customfield_10005=epic_name,
issuetype={'name': "Epic"}, summary=epic_summary,
timetracking={'originalEstimate': originalEstimate
})
It is throwing the below error
Error:
[27/Nov/2017 07:39:58] ERROR [api.views:1227] JiraError HTTP 400 url: https://digitamize.atlassian.net/rest/api/2/issue
text: gh.epic.error.not.found
response headers = {'Server': 'Atlassian Proxy/0.1.151', 'X-AREQUESTID': '974ff70f-4876-4a0d-ac07-b887b9a53235', 'Cache-Control': 'no-cache, no-store, no-transform', 'X-AUSERNAME': 'tborra', 'ATL-vTM-Backend-Time': '653', 'ATL-vTM-Time': '653', 'Content-Type': 'application/json;charset=UTF-8', 'transfer-encoding': 'chunked', 'X-Content-Type-Options': 'nosniff', 'X-Seraph-LoginReason': 'OK', 'Connection': 'close', 'ATL-vTM-Queue-Time': '0', 'Strict-Transport-Security': 'max-age=315360000; includeSubDomains; preload', 'Date': 'Mon, 27 Nov 2017 07:39:58 GMT'}
response text = {"errorMessages":["gh.epic.error.not.found"],"errors":{}}
error JiraError HTTP 400 url: https://digitamize.atlassian.net/rest/api/2/issue
text: gh.epic.error.not.found
response headers = {'Server': 'Atlassian Proxy/0.1.151', 'X-AREQUESTID': '974ff70f-4876-4a0d-ac07-b887b9a53235', 'Cache-Control': 'no-cache, no-store, no-transform', 'X-AUSERNAME': 'tborra', 'ATL-vTM-Backend-Time': '653', 'ATL-vTM-Time': '653', 'Content-Type': 'application/json;charset=UTF-8', 'transfer-encoding': 'chunked', 'X-Content-Type-Options': 'nosniff', 'X-Seraph-LoginReason': 'OK', 'Connection': 'close', 'ATL-vTM-Queue-Time': '0', 'Strict-Transport-Security': 'max-age=315360000; includeSubDomains; preload', 'Date': 'Mon, 27 Nov 2017 07:39:58 GMT'}
response text = {"errorMessages":["gh.epic.error.not.found"],"errors":{}}