Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cant add issues for epic with API


Hi, I try "next-gen project", when I create main "Epic" and other "Tasks" I try to add all list of keys (Tasks) for created "Epic".

issue_oiptions_for_add_task = {
'project': {'key': self.project_key},
'summary': self.config['Epic']['summary'],
'description': self.config['Epic']['description'],
'issuetype': {'name': 'Epic'}

new_issue = self.jira.create_issue(fields=issue_oiptions_for_add_task)
self.epic_id =
issue_oiptions_for_add_task = {
'project': {'key': self.project_key},
'summary': task['summary'],
'description': task['description'],
'issuetype': {'name': 'Task'}
new_issue = self.jira.create_issue(fields=issue_oiptions_for_add_task)

and after that:

self.jira.add_issues_to_epic(epic_id=self.epic_id, issue_keys=self.issue_keys)

response text = {"errorMessages":["gh.epic.error.not.found"],"errors":{}}

1 answer

0 votes


Have you fixed that error? 

solved this issue with update created tickets one by one

'parent': {'id': self.epic_id}
Like Gonchik Tsymzhitov likes this



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Team-managed projects

An update on team-managed projects customer feedback – November 2021

Hi! My name is Eoin and I'm a product manager working on Team-managed projects in Jira Software Cloud. We're continuously improving and updating Jira Software and feedback from our customers is ...

1,495 views 0 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you