Forums

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

403 error when using DELETE request, could someone help, i have correct uri and cookie ID, thank you

alexander_iliyar
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 10, 2020

 

Inkedissue_LI.jpg

 

2 answers

1 accepted

0 votes
Answer accepted
Phill Fox
Community Champion
May 10, 2020

Hi @alexander_iliyar 

Welcome to the Atlassian Community.

As you have already stated you have the right cookieID I assume you have checked it has not expired as well. 

So this leaves the next thing to check that is to make sure you have permission to delete the issue 

https://docs.atlassian.com/software/jira/docs/api/REST/8.8.1/#api/2/issue-deleteIssue provides the full information of how to use the API for delete.

You should also check if the issue has subtasks and if so add the deleteSubtasks parameter to the call

 

Hope this helps you to solve the problem.

 

Phill

alexander_iliyar
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 13, 2020

thank you, Phill link was very helpful.

0 votes
Rohit U
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!
June 27, 2020

Hi @alexander_iliyar 

please, change URI to "http://localhost:8080/rest/api/2/issue/{keyorIssueId}". Instead of "3" replace with "2".

Thanks

Suggest an answer

Log in or Sign up to answer