there is a problem with delete issue through rest API. The response says "You do not have permission to delete issues in this project". How can I give permission for a delete ticket? Please send me an API for delete.
The account you are using to issue the "delete" command does not have the permission to delete issues in that project.
An administrator will need to log in and amend the permissions to allow them to do the deletion.
Hi,
Thanks for the reply. But I have one question in my mind ie. it's my personal jira account that means I should be the jira administrator of this account. Then why I can't delete tickets. If there is a way to give the permission from my personal account to delete tickets then please refer docs, so I would delete those tickets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Be the jira administrator doesn't mean that you have the right to delete the issue. You need to look at the permission scheme to see who have the delete permission (wich project role, user or groups)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this is the command for delete
curl --request DELETE --url 'https://*********.atlassian.net/rest/api/3/issue/TP-108' --user 'amit.lodhi@******.com:*******'
this is the message shown-
{"errorMessages":["You do not have permission to delete issues in this project."],"errors":{}}
this is the permistion we gave for Delete Issues
Project role
- Administrator
-satlassian-addons-project-access
-Service Desk Team
Application access
- Any logged in user
Group
-Public
-anyone on the internet
-including logged in and anonymous users.
Current assignee
Project lead
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you try using the UI and tell us if it's ok or not please.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry,
there is no delete option in UI.
This is screenshot for permission or UI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You really need to cut that permission down to "admins only" - at the moment, the entire world might get access to delete anything they want, and deleting in Jira is very very permanent - you won't get it back.
Can you tell us what licence level you have for your Cloud system? And what "type" of project this is?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Try this api, but i think that you need to be a jira administrator to do this.
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.