Skip to content

Commit

Permalink
Merge branch 'master' into add-crash-reason-handle_crash_group
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikWolek authored Feb 1, 2024
2 parents 943ec9e + 66d1d75 commit f7a326f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/python/get_ticket_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

project_items = json.load(sys.stdin)["items"]
pr_url = sys.argv[1]
[id] = [item["id"] for item in project_items if item["content"]["url"] == pr_url]
[id] = [item["id"] for item in project_items if ("url" in item["content"] and item["content"]["url"] == pr_url)]
print(id)

0 comments on commit f7a326f

Please sign in to comment.