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

Delete Jira issue property via Jira Automation

Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2023

Hi,

With the action 'Set entity property' you can create a Jira issue property.

But is there a way to delete a property? Or is the only way to call the REST API?

Using this:

image.png

Will result in:

{
"key": "myproperty",
"value": ""
}

Which means that the property still exists, but contains an empty string.

2 answers

1 accepted

1 vote
Answer accepted
Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2023

Yeah, I'm afraid that is true, couldn't find it myself.

For reference, use a sent web request with an authorization header, containing an API token:

DELETE {{baseurl}}/rest/api/3/issue/{{issue}}/properties/worklog_{{worklog.id}}
0 votes
Bill Sheboy
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.
February 2, 2023

hi @Rudy Holtkamp 

I believe that is only possible with the REST API from a rule.  Here is a suggestion to add a delete action for rules: https://jira.atlassian.com/browse/JSWCLOUD-22628

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events