Read an issue by ID — continue on specific error
By default, if the issue is not found or the search condition is invalid, the query returns an error. You can tell the connector to continue instead by setting ContineOnErrorForMessage=1 and supplying the error message (or a substring) to ignore in ErrorSubstringToMatch.
SELECT * FROM Issues WITH(SearchBy='Key', Key='10001', ContineOnErrorForMessage=1, ErrorSubstringToMatch='Issue does not exist')