SyntaxFix
Write A Post
Hire A Developer
Questions
Jq now have better way to acces environment variables, you can use env.EMAILI:
projectID=$(cat file.json | jq -r ".resource[] | select(.username==env.EMAILID) | .id")