Hello,
Great Article!
But looks like the following portion will always succeed because you will get a 404 response even if the issue is not found. Am I missing something?
if [[ "$issue" != " " ]] then debug "Issue exist: OK" else info "Issue $issue_id don't exist" exit 2; fi
Hello,
Great Article!
But looks like the following portion will always succeed because you will get a 404 response even if the issue is not found. Am I missing something?
if [[ "$issue" != " " ]]
then
debug "Issue exist: OK"
else
info "Issue $issue_id don't exist"
exit 2;
fi