How do I hide creation options when the permission has been removed?
We have several work item types which are imported via an automated process from another tool we are phasing out. In RTC when a user goes to create a work item, these options still show up, even though we have removed the permissions for the user to create them.
The problem isn't really that they show, but that they are select-able by the user. The user can select the work item type to create, and fill out everything on the form and does not get told they do not have permissions to create this workitem type until they click the save button.
Several solutions come to mind, but I cannot seem to find the configuration options for any of them. the first one would be an option that would remove the work item types from the available list if the user does not have permissions for creating that type.
If we can not remove those types from the options, then I would like to add information to the error message they get when they click save to point them to the proper place to go to create these types (i.e. the error message currently reads something like "Permission error: you do not have the permissions to create "XXXXXX" work item." I would like to modify that so that it includes something like "To generate an XXXX work item, please click HERE" and have here be a URL for the proper system. Even if I cant get the URL, I would still like to customize the error message to help them better.
Any help will be appreciated.
thanks
Bill
|
Accepted answer
One other answer
Hello Bill,
I don't think that you can hide a specific work item type for now.
This will be addressed with Capability to hide work item types per user (187961)
However, you may want to make all attributes presentation type as "read-only" so that end use can not enter any value.
You may also want to define a default value provider for summary and/or description,
which will state your explanation like:
" you may not create work item of type...
To generate an XXXX work item, please click HERE"
Let me know if this would help.
Thanks.
Eric.
Comments
Ralph Schoon
commented Apr 04 '13, 10:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Eric, the trouble with the Default Value Provider will be that it is across all work item types that have this attribute. So any work item that uses this attribute will be affected.
agree Ralph :) |
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.