[MINOR] fixed logic to find issue number from title

This commit is contained in:
Jongyoul Lee 2016-05-31 13:28:23 +09:00
parent f8e1f6c4fa
commit c16117b2e1

View file

@ -280,7 +280,7 @@ def resolve_jira_issue(merge_branches, comment, default_jira_id=""):
def resolve_jira_issues(title, merge_branches, comment):
jira_ids = re.findall("ZEPPELIN-[0-9]{4,5}", title)
jira_ids = re.findall("ZEPPELIN-[0-9]{3,4,5}", title)
if len(jira_ids) == 0:
resolve_jira_issue(merge_branches, comment)