Yosuke Shiro created ARROW-3786:
-----------------------------------

             Summary: Enable merge_arrow_pr.py script to run in non-English 
JIRA accounts.
                 Key: ARROW-3786
                 URL: https://issues.apache.org/jira/browse/ARROW-3786
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Developer Tools
            Reporter: Yosuke Shiro


I read [https://github.com/apache/arrow/tree/master/dev#arrow-developer-scripts]
 
I did the following instruction.
{code:java}
dev/merge_arrow_pr.py{code}
I got the following result.
{code:java}
Would you like to update the associated JIRA? (y/n): y
Enter comma-separated fix version(s) [0.12.0]:
=== JIRA ARROW-3748 ===
summary         [GLib] Add GArrowCSVReader
assignee        Kouhei Sutou
status          オープン
url             https://issues.apache.org/jira/browse/ARROW-3748
 
list index out of range{code}
 
It looks like an error on 
[https://github.com/apache/arrow/blob/master/dev/merge_arrow_pr.py#L181] .
My JIRA account language is Japanese.
This script does not seem to work if it is not English.
{code:java}
print(self.jira_con.transitions(self.jira_id))

[{'id': '701', 'name': '課題のクローズ', 'to': {'self': 
'https://issues.apache.org/jira/rest/api/2/status/6';, 'description': '課題の検 
討が終了し、解決方法が正しいことを表します。クローズした課題は再オープンすることができます。', 'iconUrl': 
'https://issues.apache.org/jira/images/icons/statuses/closed.png';, 'name': 
'クローズ', 'id': '6', 'statusCategory': {'self': 
'https://issues.apache.org/jira/rest/api/2/statuscategory/3';, 'id': 3, 'key': 
'done', 'colorName': 'green', 'name': '完了'}}}, {'id': '3', 'name': 
'課題を再オープンする', 'to': {'self': 
'https://issues.apache.org/jira/rest/api/2/status/4';, 'description': 
'課題が一度解決されたが解決に間違いがあったと見なされ たことを表します。ここから課題を割り当て済みにするか解決済みに設定できます。', 'iconUrl': 
'https://issues.apache.org/jira/images/icons/statuses/reopened.png';, 'name': 
'再オープン', 'id': '4', 'statusCategory': {'self': 
'https://issues.apache.org/jira/rest/api/2/statuscategory/2';, 'id': 2, 'key': 
'new', 'colorName': 'blue-gray', 'name': 'To Do'}}}]{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to