It's all about the answers!

Ask a question

Prevent users from creating attachment if work item is in specific state


Ulrich Simon (1513) | asked Dec 02 '21, 11:17 a.m.

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


permanent link
Ralph Schoon (63.2k33646) | 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
Ulrich Simon commented Jan 24 '22, 7:11 a.m.

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. 


Ralph Schoon commented Jan 24 '22, 7:25 a.m. | edited Jan 24 '22, 7:25 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Nice! Thanks for sharing.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.