jira.create_issue_link('Duplicate', issue, issueJ, None)
jira.transition_issue(issueJ.key, '181')
query.remove(issueJ)
The first sentence works, it creates a link. But the transition_issue not works and it throws and exception:
jira.exceptions.JIRAError: JiraError HTTP 400 url: https://xxxxxxxxxxxxx.net/rest/api/2/issue/ticket.number/transitions
text: The selected resolution cannot be chosen during this action.
response headers = {'Server': 'nginx/1.10.3', 'Date': 'Wed, 20 Mar 2019 09:37:33 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'X-AREQUESTID': '577x474155x4', 'X-ASESSIONID': '1fwn7w3', 'X-ANODEID': 'prd-dops-issues-ap-02', 'X-XSS-Protection': '1; mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'SAMEORIGIN', 'Content-Security-Policy': "frame-ancestors 'self'", 'X-ASEN': 'SEN-11553968', 'X-Seraph-LoginReason': 'OK', 'X-AUSERNAME': 'gongjunh', 'Cache-Control': 'no-cache, no-store, no-transform', 'Content-Encoding': 'gzip', 'Vary': 'User-Agent'}
response text = {"errorMessages":[],"errors":{"resolution":"The selected resolution cannot be chosen during this action."}}
Not sure if anything wrong about the code.
Please, add transition screen with Resolution field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.