Forums

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

How do I update issue property "jira.issue.editable" to false or true in an automation rule

Ben van den Berg
Contributor
April 11, 2022

I want to prevent any changes to an issue once it is set to "Done" or "Cancelled" status.

Usually, setting the property "jira.issue.editable" to false achieves that objective.

I need an automation rule to set some fields when the status transitions to "Done" or "Cancelled". However, when I set the "jira.issue.editable" to false for the status in the workflow, then those automation rules fail because the issue is not editable when the automation rule executes.


I am trying a different approach, but I cannot find any documentation on setting the issue's "editable" property in the automation rule after the rule made all the other updates. The update to the editable field needs to be in the Additional fields section of an Edit issue action because it is not accessible via standard fields. I tried to use various notations e.g.

2022-04-12_08h28_57.png2022-04-12_08h23_49.png2022-04-12_08h23_09.png

I cannot publish the rule when I try to update the editable property. 

Can someone please assist me by providing pointers on how to achieve my objective?

 

1 answer

1 accepted

3 votes
Answer accepted
Anzar
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.
April 11, 2022

Hi,

jira.issue.editable is a workflow property.

With that being said, you can set automation rules for issue fields and properties since they bind to that particular issue.

Workflow properties bind themselves with workflows and not the issues and hence we cannot set the workflow property through automation.

Hope that answers your question.

Regards,

Anzar Khan

Ben van den Berg
Contributor
April 13, 2022

Hi @Anzar 
Thank you for your feedback; it is much appreciated.
I understand what you are saying; thank you for your explanation. 


With regards

Ben

Anzar
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.
April 20, 2022

Please accept my answer :)

Dinesh Balakrishnan February 14, 2023

Is there a solution on how to handle this?

Ben van den Berg
Contributor
July 29, 2023

@Dinesh Balakrishnan unfortunately, it cannot be done.

Suggest an answer

Log in or Sign up to answer