jira - Createmeta using jirapython -
trying know mandatory fields issue type testcase in jira using below statement
defined params list items projectids, issuetype = testcase, issuetype id =
"jira._get_json('issue/createmeta', params)".
but not able retrieve fields output alist projects issuetypes, subtask, description, avatarurls, key, self, expand
let me know there issue statement used or please post way retrieve mandatory fields specific issue type using jira python
the way have been doing specific fields:
issue = jira.issue(testcase) issue_type_name = issue.fields.issuetype.name issue_type_id = issue.fields.issuetype.id
another way getting meta is:
issue = jira.issue(testcase) print(issue.raw)
or
jira.createmeta(projectkeys='testcaseproject', projectids=['testcase'],expand=none)
source: http://pythonhosted.org/jira/
Comments
Post a Comment