You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Saisai Shao (JIRA)" <ji...@apache.org> on 2018/01/11 04:12:00 UTC

[jira] [Commented] (SPARK-22921) Merge script should prompt for assigning jiras

    [ https://issues.apache.org/jira/browse/SPARK-22921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16321669#comment-16321669 ] 

Saisai Shao commented on SPARK-22921:
-------------------------------------

Hi [~irashid], looks like the changes will throw an exception when the assignee is not yet a contributor. Please see the stack.

{code}
Traceback (most recent call last):
  File "./dev/merge_spark_pr.py", line 501, in <module>
    main()
  File "./dev/merge_spark_pr.py", line 487, in main
    resolve_jira_issues(title, merged_refs, jira_comment)
  File "./dev/merge_spark_pr.py", line 327, in resolve_jira_issues
    resolve_jira_issue(merge_branches, comment, jira_id)
  File "./dev/merge_spark_pr.py", line 245, in resolve_jira_issue
    cur_assignee = choose_jira_assignee(issue, asf_jira)
  File "./dev/merge_spark_pr.py", line 317, in choose_jira_assignee
    asf_jira.assign_issue(issue.key, assignee.key)
  File "/Library/Python/2.7/site-packages/jira/client.py", line 108, in wrapper
    result = func(*arg_list, **kwargs)
{code}

> Merge script should prompt for assigning jiras
> ----------------------------------------------
>
>                 Key: SPARK-22921
>                 URL: https://issues.apache.org/jira/browse/SPARK-22921
>             Project: Spark
>          Issue Type: Improvement
>          Components: Project Infra
>    Affects Versions: 2.3.0
>            Reporter: Imran Rashid
>            Assignee: Imran Rashid
>            Priority: Trivial
>             Fix For: 2.3.0
>
>
> Its a bit of a nuisance to have to go into jira to assign the issue when you merge a pr.  In general you assign to either the original reporter or a commentor, would be nice if the merge script made that easy to do.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org