Prevent users from creating attachment if work item is in specific state
![]() I would like to prevent users from attaching a file to a work item when it is in a certain status.
There are rules in the settings that restrict this for specific roles, but not for individual work item statuses.
Is there any other way than to implement a server-side advisor?
Unfortunately, this option is not available in my constellation.
|
Accepted answer
![]()
Ralph Schoon (62.0k●3●36●43)
| answered Dec 03 '21, 2:26 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER For all I know, there is no other option than a custom server side advisor to have this behavior. Ulrich Simon selected this answer as the correct answer
Comments 1
We found a workaround, which may help others: As the attachment information is stored additionally as a comment, I removed the permission to create a comment in the specific state. Then EWM/RTC blocks to create the attachment as well. ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Nice! Thanks for sharing. |