Hello community,
I'm struggling with an automation and I hope you can help. I have 3 date fields and 3 text fields. What I'm trying to do is prevent them from editing the value after entering data.
Currently, I've only managed to keep the data and return it to the original value if they enter something. Then I set up conditions based on "IF" and "ELSE" to go through all the fields, but now it doesn't do anything :(
I've attached images of the rule so you can better explain what I built and help guide me toward a solution.
Using Automation to revert fields that users are "not supposed to touch" is a pretty horrible user experience.
User: "What? Why did it change my field back? What is happening!?"
A better solution is to prevent editing of fields during particular statuses.
The way to do this is with Workflow Properties, a slightly arcane Jira Admin topic. Here's the official documentation:
And a great tutorial on it from @Bogdan Gorka:
And lastly, the great grand-daddy of resources from @Jobin Kuruvilla [Adaptavist]:
The property you would want to set for Statuses where fields should not be edited is:
Thanks!
I'll check out the instructions you shared with me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Marc,
What I managed to do was "revert" the value of the modified field to the original. While this doesn't comply with the concept of "locking" as such, it helps users know after the announcement that after entering a piece of data once, they won't be able to change it again.
The problem started when I added more fields because it recorded the first changed field and then copied that original value to another field that had been modified, from the list of fields we specified.
What I managed to do was "revert" the value of the modified field to the original. While this doesn't comply with the concept of "locking" as such, it helps users know after the announcement that after entering a piece of data once, they won't be able to change it again.
The problem started when I added more fields because it recorded the first changed field and then copied that original value to another field that had been modified, from the list of fields we specified.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's why i provided this solution.
Use read-only text field to copy the initial value to and remove the fields from the screens, so that they can't be seen and/or edited.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't lock fields.
What you can do is of these fields are filled in on creation, create referenced custom fields of type read only.
Then in automation based on issue creation copy the values of these fields to the custom fields and show these fields on the edit/view screens and not the initial fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.