Forums

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

Behaviours and Issue Status

John Hastings-Kimball
Contributor
April 27, 2020

Hi all, 

We are trying to prevent the editing of the Fix Versions field on issues in the Resolved status. I created a Behaviour to set the Fix Versions field to Read-Only when the Workflow Step is Resolved. Easy one I thought.

The field remains editable for issues in other statuses and I thought I was done UNTIL I tried the Resolve transition to move items into the Resolved status. The field is read-only here too and of course you can't resolve an issue without telling us what versions you fixed the issue in!!! I would have thought that the issue's status was not set to Resolved until AFTER you click the Resolve button. Is there a way to accomplish this with behaviours? 

Thanks!

1 answer

1 accepted

0 votes
Answer accepted
Payne
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 27, 2020

What about making the entire issue (not just that one field) read-only when in the Resolved status? You can do that by adding a Property to that status:

key: jira.issue.editable

value: false

John Hastings-Kimball
Contributor
April 27, 2020

Thanks Payne - as much as I loathe a ticket being edited at all after it's been resolved we, unfortunately, have some less than ideal processes right now where fields like release notes might need to be edited after the issue is closed. I did just figure out that you can add an additional except condition to the behaviour to exclude the resolve transition(s). I think what was throwing me is that, to me, the issue is not yet IN the Resolved status until all behaviors and validations pass so the behaviour is a bit counter-intuitive to me. Once I added that extra condition its all working as expected now. 

 

I will keep this property in my back pocket though!

Like Payne likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events