We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c98bb64 commit a1b2f5cCopy full SHA for a1b2f5c
1 file changed
docs/jira.rst
@@ -301,6 +301,26 @@ Manage issues
301
# Get Issue Edit Meta
302
jira.issue_editmeta(issue_key)
303
304
+ # Creates an issue or a sub-task from a JSON representation
305
+ jira.create_issue(fields, update_history=None, history=None)
306
+ example:
307
+ fields = dict(summary='Into The Night',
308
+ project = dict(key='APA'),
309
+ issuetype = dict(name='Story')
310
+ )
311
+ update = dict(issuelinks={
312
+ "add": {
313
+ "type": {
314
+ "name": "Child-Issue"
315
+ },
316
+ "inwardIssue": {
317
+ "key": "ISSUE-KEY"
318
+ }
319
320
321
322
+ jira.create_issue(fields=fields, update=update)
323
+
324
# Get issue create meta, deprecated on Cloud and from Jira 9.0
325
jira.issue_createmeta(project, expand="projects.issuetypes.fields")
326
0 commit comments