[MINOR] fixed logic to find issue number from title

This commit is contained in:
Jongyoul Lee 2016-05-31 15:40:33 +09:00
parent c16117b2e1
commit 63f37af979

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]{3,4,5}", title)
jira_ids = re.findall("ZEPPELIN-[0-9]{3,5}", title)
if len(jira_ids) == 0:
resolve_jira_issue(merge_branches, comment)