I am trying to automate some issue creation tasks that I need to perform.. Well, I don't like to click too much.
I have managed to create issues by
import jira
jira_conn = jira.JIRA('url_to_server')
issue_dict_a = dict(
project={'key': 'ABC'},
summary='summed up',
description='',
issuetype={'name': 'TypeA'},
)
iss_a = jira_conn.create_issue(fields=issue_dict_a)
# suppose this is issue ABC-1
# issue_dict_a = dict(...)
iss_b = jira_conn.create_issue(fields=issue_dict_b)
# suppose this is issue ABC-2
However, I then want to link them using something like
jira_conn.create_issue_link(typestr, inwardIssue='ABC-1', outwardIssue='CSV-2')
But what dows the typestr
need to be? Where do I get the right type from? How is it specified?
Thanks!