Hey I know the cloning of tickets is not provided in Jira API. So, i was trying an alternative way.
1) Extract all the fields of an issue.
2) create a new issue and update all the fields from the previous issue.
3) link both the tickets
Problem -> is there any alternative way, because i am not able to pass all the fields of parent ticket to duplicate ticket using the Create_issue() function.
When i try this,
new_issue=jira.create_issue(fields=parent_issue.raw['fields'],preftech=True)
it gives an error
jira.exceptions.JIRAError: JiraError HTTP 400 url: https://teamipreo.atlassian.net/rest/api/2/issue