Expand my Community achievements bar.

How to Add a User to a newly created Project in Workfront Fusion

Avatar

Level 3

I am trying to figure out how to add users to a project using Fusion. I have tried a Custom API call: Post and a Create Record for Project User. Neither work and produce a 422 error: [422] PRTU is not a top level object and can't be requested directly. I am trying to add a few users that will not be assigned to tasks to the new project and at the same time I need to remove the owner of the request from the converted request and add them to the project. Any help would be extremely appreciated!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

7 Replies

Avatar

Level 8

Hi @JessicaBCrum 

ProjectUser is a linking object, much like objectCategory and you can't modify those records directly. 

Using a customAPI call you can add a user to a project like so

SveniX_0-1741858667163.png

 

Avatar

Level 3

Thank you @Sven-iX! I will give this a try. I really appreciate you weighing in and providing a solution.

Avatar

Level 3

@Sven-iX Unfortunately I received an error. I have included a few screenshots of my input for the custom API call and the error I received.Screenshot 2025-03-14 113159.pngScreenshot 2025-03-14 112627.png

Avatar

Level 3

@Sven-iX I adjusted the JSON body and still received an error:

RuntimeError

[400] APIModel V19_0 does not support action addUsersFromProject (PROJ)

Avatar

Level 8

@JessicaBCrum I am so sorry: 
You'll need the "internal" API

SveniX_0-1741982981672.png

 

Avatar

Level 3

@Sven-iX Now I am receiving this error:
[422] APIModel INTERNAL action addUsersFromProject does not support argument named {
"userIDs": [
"67c8bd320004760a3117d5618bf1072b"
]
}

Avatar

Level 8

Right - make sure you pass it like below

 

updates={"userIDs":["64dcc7480386dd0f8dde7c2e1ca1c62d"]}