0
,用戶具有管理員權限了。蟒蛇JIRA不能過渡問題
輸出:
Traceback (most recent call last):
File "/root/PycharmProjects/pyhunt2/github_test.py", line 75, in <module>
main()
File "/root/PycharmProjects/pyhunt2/github_test.py", line 71, in main
jira_comment()
File "/root/PycharmProjects/pyhunt2/github_test.py", line 46, in jira_comment
jira.transition_issue(issue, '261')
File "/root/PycharmProjects/pyhunt2/jira/client.py", line 108, in wrapper
result = func(*arg_list, **kwargs)
File "/root/PycharmProjects/pyhunt2/jira/client.py", line 1255, in transition_issue
url, data=json.dumps(data))
File "/root/PycharmProjects/pyhunt2/jira/resilientsession.py", line 153, in post
return self.__verb('POST', url, **kwargs)
File "/root/PycharmProjects/pyhunt2/jira/resilientsession.py", line 146, in __verb
raise_on_error(response, verb=verb, **kwargs)
File "/root/PycharmProjects/pyhunt2/jira/resilientsession.py", line 56, in raise_on_error
r.status_code, error, r.url, request=request, response=r, **kwargs)
jira.exceptions.JIRAError: JiraError HTTP 400 url: https://xxxxxxx.atlassian.net/rest/api/2/issue/SBAU-11601/transitions
text: Can't move (SBAU-11601). You might not have permission, or the issue is missing required information. If you keep having this problem, contact your Jira Administrator.
response headers = {'X-Seraph-LoginReason': 'OK', 'Connection': 'close', 'transfer-encoding': 'chunked', 'X-AUSERNAME': 'xxxxx', 'Content-Type': 'application/json;charset=UTF-8', 'Server': 'Atlassian Proxy/0.1.131', 'ATL-vTM-Backend-Time': '991', 'X-AREQUESTID': '528x869535x11', 'Strict-Transport-Security': 'max-age=315360000; includeSubDomains; preload', 'X-Content-Type-Options': 'nosniff', 'ATL-vTM-Queue-Time': '0', 'Cache-Control': 'no-cache, no-store, no-transform', 'Date': 'Wed, 11 Oct 2017 08:48:46 GMT', 'ATL-vTM-Time': '991'}
response text = {"errorMessages":["Can't move (SBAU-11601). You might not have permission, or the issue is missing required information. If you keep having this problem, contact your Jira Administrator."],"errors":{}}
是否要在工作流程中設置轉換? –