Hi,
I want to create a scripted date field (FIELD 1) that copies the value of another date field (Due Date).
But, after issue creation, the field FIELD 1 must be LOCKED.
Can someone please help me with how to achieve this . thank you
Only put the new field on the View screen.
@Joe Pitt Thank you for the comment !
Okay, but how I copy the value of the Due date field to the new field and then lock the new field ?
In the new scripted field write this code.
issue.dueDate
May be 2 more configurations if you are dealing with date field.
Searcher: Date Time Range pickerTemplate: Date Time
You may need to add more code to handle errors. It is bare minimum.
Ravi
@Ravi Sagar _Sparxsys_ Thank you for the comment.
I have not written scripts.
does the above line copy the field value to the new field. But how do I ensure that that the value entered first is fixed
It looks like you're new here. Sign in or register to get started.