Hello Jira Masters,
I have two custom fields: DueDateCounter (number) and Due date for the Current Assignee (Date) ,
In each transition I have a post function that increases the DueDateCounter by 1 and then add two days to the due date for the Current Assignee custom field.
When DueDateCounter reaches 4 the due date for the Current Assignee stays unchangeable and the DueDateCounter stop increasing.
the problem that any user can modify the Due date for the Current Assignee field by the option "click to edit" .
I need to create another post function that blocks this option when the value of DueDateCounter =4
Can you please help?
Thank you
Hi!
If the two fields are modified only by code, you can remove both of the fields from the edit screen, they should be only in the view screen.
If you remove the fields from the edit screen they will be "read-only" from the jira ui
Hello Gaston , Thank you for this quick response please tell me if you have an idea about how to remove a custom field from edit screen in a post function ? (from the code)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, may be I was not clear.
you need to modify the fields from the post functions just like your doing right know
the only change is to remove the field from the edit screen from the project configuration
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.