Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot create comment from REST API via add-on

Bastien Fiorito
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 4, 2020

Hi Guys !

I'm facing a problem when trying to create a comment via rest api from our app :

"commentLevel":"You are currently not a member of the project role: Administrators."

However, we got the right scope permission, we are in atlassian-addons-project-access role and this role has permission to write comment.

We use Sprint RestTemplate to dispatch HTTP request and we are authenticated via JWT.

Note that we are able to create issue for example. 

Any ideas ?

1 comment

Comment

Log in or Sign up to comment
David_Bakkers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 18, 2020

Please provide a copy of the REST API call you are using to add the comment to the issue

TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events