My connect addons has "READ","WRITE","ADMIN","ACT_AS_USER" permissions. I am posting comment using this url https://xxx-jira-dev.atlassian.net/rest/api/2/issue/xxxx-7/comment? and body I am posting is {"body":"test"} . But I am receiving 401 error.
I am doing post to get serach results , that is working sucesssfully.
Do we need to add connect addon with project permissions or some thing else to fix this issue?