Create RTC(V4.0.3) work item ends with error message "you don't have permission to perform the following actions: modify/creationDate".
Currently using RTC V4.0.3. All went fine before I added some Java Script for "Calculated Value", as well as changing the wok item creation/update permission to some user Roles (eg. Developer) for some work items only.
After I had added the java script and changed the permissions of the Roles, then the Roles are no longer
be able to update any work items (though no update permission was changed for those items). The creation always ends with "you don't have permission to perform the following actions: modify/creationDate".
* Though, the roles was granted with the permission to create the above mentioned workitems.
There is no logic in the Java script to modify the creation Date, but only read the creationDate.
The interesting points is that the Role that has full permission to modify workitem (e.g. Project Manager) still able to create the workitem.
Is there any advice for me to handle this problem and allow the Roles (e.g. Developer) to be able to create the work item as it should be?
Thanks.
After I had added the java script and changed the permissions of the Roles, then the Roles are no longer
be able to update any work items (though no update permission was changed for those items). The creation always ends with "you don't have permission to perform the following actions: modify/creationDate".
* Though, the roles was granted with the permission to create the above mentioned workitems.
There is no logic in the Java script to modify the creation Date, but only read the creationDate.
The interesting points is that the Role that has full permission to modify workitem (e.g. Project Manager) still able to create the workitem.
Is there any advice for me to handle this problem and allow the Roles (e.g. Developer) to be able to create the work item as it should be?
Thanks.
One answer
Fatima,
I doubt it is because of the script. I am not sure what it could be, because besides the permission to create a work item (which will change the creation date) there is no special permission to allow or deny saving the creation date. That I can find anyway. It would be surprising if there were one. The creation date can not modified by the UI. I would suggest to
I doubt it is because of the script. I am not sure what it could be, because besides the permission to create a work item (which will change the creation date) there is no special permission to allow or deny saving the creation date. That I can find anyway. It would be surprising if there were one. The creation date can not modified by the UI. I would suggest to
- Deactivate the script and check if the issue is gone.
- Review the script and its configuration
For 2. what type of script is this e.g. a value provider does return a vale, even if it would be the same value, there might be an issue. What does the script do? Is it configured for the creation date, or is the creation date only an input?