https://myjira.local/rest/api/2/field
jira.transition_issue(issue, '81',fields={'customfield_XXXXX': "SomeStringValue"}) #Move to State 81 with mandatory field customfield_XXXXX
issue.update(fields={'customfield_XXX1': "SomeStringValue",'customfield_XXX2': "SomeStringValue"})
jira.transition_issue(issue, '241',
fields = {
'customfield_11470': {
'value' : 'Инициатива кандидата',
'child': {'value': 'Вышел на связь с GBC'}
}
}
)
issue.update(fields={"Versions":[{'name':"SomeStringInfo"}]})
issue.fields.issuetype.id
jira.add_comment(issue.key, "Some comment")
from jira import JIRA
import warnings
warnings.filterwarnings("ignore", message="Unverified HTTPS request")
options = {
'server': 'https://myjira.local',
'rest_api_version': '2',
'verify' : False
}
jira = JIRA(options,auth=('user','password')
jira.comments(issue.fields.parent)