Magidoc

updateAssignedPlaceholders
Mutation

Maps a resource placeholder (e.g. "Event manager") to a person on one project. With updateActions true, also assigns that person to the project's actions that use the placeholder (actions with their own mapping for it are skipped); otherwise only the project mapping changes. Requires placeholder-assign permission on the project.

Arguments

#

projectId

ID !
Non-null

Project whose placeholder mapping changes

workspaceId

Workspace the project and placeholder must belong to. When given, the mutation fails for either in any other workspace

placeholderId

ID !
Non-null

Resource placeholder ID from the workspace's placeholder list

currentAssigneeId

User currently mapped to the placeholder, when replacing them. Omit on a first mapping

assigneeId

ID !
Non-null

User ID to map to the placeholder, or 'none' to clear the mapping

updateActions

True also assigns the person to this project's actions that use the placeholder

Response

#

Returns Project .

Example

#