Forums

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

403 error DELETE issue property

Chester Hoang April 30, 2019 edited

I am attempting to delete a custom property from a jira issue. I have the issue Id and property key, and I also have Write permissions on the atlassian-connect.json file.

 

This is the request: https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest&utm_medium=302#api-rest-api-3-issue-issueIdOrKey-properties-propertyKey-delete

However, any time i try to run the request below I get a 403 error. I dont see whats wrong with my request and I am the site admin so permissions shouldn't be an issue.

```

AP.request({
url: `/rest/api/3/issue/{issueId}/properties/{propertyKey}`,
type: "DELETE",
contentType: 'application/json',
success: function(data){
  data = JSON.parse(data);
},
error: function(err) {
  console.log("error: ", err);
}
});

```

 

GET and POST requests work fine. Any help would be appreciated.

1 answer

1 accepted

1 vote
Answer accepted
Chester Hoang April 30, 2019

The issue was in the atlassian-connect.json file, I had READ and WRITE permissions but not DELETE

berecom February 9, 2024

Thanks!

Suggest an answer

Log in or Sign up to answer