Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2548

kafka-merge-pr tool fails to update JIRA with fix version 0.9.0.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0.0
    • None
    • None

    Description

      Trying to update JIRA where the fix version is set to '0.9.0.0', I get the following error:

      Traceback (most recent call last):
        File "kafka-merge-pr.py", line 474, in <module>
          main()
        File "kafka-merge-pr.py", line 460, in main
          resolve_jira_issues(commit_title, merged_refs, jira_comment)
        File "kafka-merge-pr.py", line 317, in resolve_jira_issues
          resolve_jira_issue(merge_branches, comment, jira_id)
        File "kafka-merge-pr.py", line 285, in resolve_jira_issue
          (major, minor, patch) = v.split(".")
      ValueError: too many values to unpack
      

      We need to handle 3 and 4 part versions (x.y.z and x.y.z.w)

      Attachments

        Issue Links

          Activity

            People

              ijuma Ismael Juma
              gwenshap Gwen Shapira
              Guozhang Wang Guozhang Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: