Closed sam-fakhreddine closed 11 months ago
Hello @sam-fakhreddine, thanks for contributing!
I'll make sure to include these images in the README to allow developers to re-build the workflow in JIRA and address the error handling.
Hello @sam-fakhreddine, thank again! This is now fixed (commit).
I added some logic to get_finding_id_from.
The issue is with the get_finding_id_from function in utils.py. Specifically, it's failing when trying to perform a regular expression search on a NoneType object. To make the script more robust, you can add a check to ensure that the object you're working with is not None before proceeding with the regex search.
This modification will log a warning and return None if ticket is None, preventing the script from crashing. You might also want to handle this None return value in the function that calls get_finding_id_from.
These 2 photos will help people working in Jira Cloud since you cant import an XML or Workflow file because Atlassian wont let you without a marketplace piece of software.