Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,318
Community Members
 
Community Events
184
Community Groups

Do JIRA portal and JIRA Rest API have seperate permissions for adding/deleting comments in any JIRA

Ankur Sharma
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!
Apr 27, 2023

It's regarding my official JIRA, I am able to add/delete comment from the JIRA portal, but when I am using JIRA REST API to add a comment, I am getting 403 Forbidden error.

I checked though my personal Atlassian account, and it worked smoothly, I was able to add comments easily to my tickets.

Can anyone suggest, are permissions for JIRA portal and JIRA REST API separate, if yes, then what permission shall I ask my JIRA admin to provide to me ?

Apologies in advance, it could be a stupid question. ;-)

The JIRA version on server is 8.20.15.

I am logged into my official JIRA via Azure AD login, that's the corporate login (SSO).

Now, we have to do some migration, and update each ticket with a comment, so, we though REST API will be the best one.

any suggestions ?  

Regards

Ankur Sharma

1 answer

1 accepted

1 vote
Answer accepted
Himanshi
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 01, 2023

Hello @Ankur Sharma , 

Welcome to community!

Could you please validate if you are running the correct api call of server. 

I am sharing the API endpoint for server below :

https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-add-comment-8946422/#:~:text=The%20Rest%20API%20allows%20you,part%20of%20editing%20an%20issue.

Have a nice day!

Ankur Sharma
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 02, 2023

Hi @Himanshi : Yes for my personal Atlassian account, I was able to use API same way as adding a comment from GUI, it was all working smooth.

I had problem with my professional JIRA account, I had add comment access from JIRA UI, but when I was adding comment from API, it was blocked and I was getting 403.

Well, problem resolved now, as JIRA admin has shared some new temporary credentials with us to use for API work, and we tested, it worked fine.

Thank you so much for reply.

Have an awesome day ahead. :-)

Regards 

Himanshi
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 02, 2023

You too @Ankur Sharma . 

Have a great day !

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events