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!
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
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.