Hi Josh,
This is a permission setting. If users are not assigned to the project, they cannot toggle the custom field. Unless the user is a super user, then they will be able to change any field without being assigned to the project.
I created a toggle field however it is locked for my users unless they are already assigned to the project.
There are no custom validation rules in place regarding this field.
What setting could do this?
Please sign in to leave a comment.
Hi Josh,
This is a permission setting. If users are not assigned to the project, they cannot toggle the custom field. Unless the user is a super user, then they will be able to change any field without being assigned to the project.
Hi Josh,
Is the field is on the project level or the workitem level?
Thanks,
Tamir
Hi Tamir,
The field is on the task level.
Is there any way to override the restriction on this one field.
Specifically this field is intended to allow users to assign themselves as a resource to a project.
Josh,
Please share the entire use case so I can share with you the best practice for your use case.
Thanks,
Tamir
Tamir,
Overall Goal: Allow entry-level resources to opt-in (claim) a specific task.
This toggle, when triggered will add the user to the task using a workflow.
Josh,
I would suggest to use a Custom Action for this use case. The evaluation criteria will be based on that custom field (For example $TaskType='Allow resource to claim")
The action will be
New Item: Resource
CurrentObject()
CurrentUser()
Let me know if it makes sense.
Good luck!
Tamir
Works perfectly!
Is there any way to move the custom action button to a different area of the ribbon?
Hi Josh,
You cannot move it to another place in the ribbon however you can create a button in the property card by following those steps:
1. Create a Custom Field type URL on the work item level, which is based on the following formula: If(same condition as the custom action condition, HyperLink(GetCustomActionURL('Custom action name here',GetRunTimeParameter(CurrentObject())),'Click here to change'),NULL)
2. Copy and paste the following code to the Custom CSS field in the org level (go to global settings and type ahead custom css).
.object-link span {text-align:center}
.object-link a, .object-link a:link, .object-link a:visited
{
display:inline-block; margin:0; padding:2px 15px; color:#666; border:1px solid #ccc; border-radius:3px; cursor:pointer; text-decoration:none; text-align:center; font-size:12px;
background: #eee url(../../images/bg-button.png) no-repeat left center;
overflow:visible; /* <- ie7 */
-webkit-transition: all .15s ease-in; -moz-transition: all .15s ease-in; transition: all .15s ease-in;
}
.object-link a:hover
{
border-color:#999;
color:#000;
box-shadow: 0px 1px 2px rgba(0,0,0,.15);
}
.obj-field-cnt:hover .object-link .o-val {padding-right:0px;}
Good luck!
Tamir