指令有createIssue,但卻沒有close issue這指令
看了官網提的,應該是用progressWorkflowAction中的參數action將設為close
以下是官網的範例,用ruby寫的
# Close the issue with a resolution of "Fixed".
action = "2" # 2 = "Close". Note how this is actually a string, not an integer.
resolution_type = "1" # 1 = "Fixed". Also a string.
issue = soap.progressWorkflowAction(token, issue.key, action, [{ :id => "resolution", :values => resolution_type }])
Reference
- Soap API
- http://confluence.atlassian.com/display/JIRA/Remote+API+%28SOAP%29+Examples
沒有留言:
張貼留言