Skip to content

Commit

Permalink
more testing of parsing tickets in
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorFries committed Jan 25, 2024
1 parent 9bd3860 commit 9e681f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/helpers/jira-api/jira_con.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ def parse_tickets( tickets_json ):
#if it does not match ignore it
if sum_refined is None:
continue
else:
print("got match")

try:
# if it matches extract the depenency name and folder
Expand Down Expand Up @@ -195,4 +193,5 @@ def get_summary_list( conn, headers, project_key ):

# go through response and pull out summaries of tickets into list.
summary_li = parse_tickets( json_in )
print(summary_li)
return summary_li
2 changes: 1 addition & 1 deletion .github/helpers/jira-api/refine_tickets.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def create_subtasks( update_list, parent_key, project_key, jira_subtask ):

# reformat the string to how we want the summary to look
update_command = "npm install " + dependency_type + str(dep_name) + "@" + new_version
ver_delta = " from " + str(old_version) + " to " + str(new_version)
ver_delta = " from version " + str(old_version) + " to " + str(new_version)
summary_title = "Update " + str(dep_name) + ver_delta + " in " + str(folder_name)
description = "To update please run the following command:\n\n' " + update_command + " '"

Expand Down

0 comments on commit 9e681f5

Please sign in to comment.