Hello J,
If you set the targetId to the relevant project when making the API call, then the custom action should be able to access that project via CurrentObject() function.
I hope this helps.
Roland
Just throwing this question out here to see if anyone has had a similar experience.
I am calling a custom action on a Project using the REST API which creates a task/work item. My call executes fine and shows the "Success" dialogue but the task never appears as a child under the Project. Searching for the task in the system also yields no results.
I've tried adding a "Parent" field to link the task to the project in my JSON body but get an error "InvalidArgument" and can't send the request.
My JSON has a format like this:
ENDPOINT: https://api.clarizentb.com/v2.0/services/data/executeCustomAction
Please sign in to leave a comment.
Hello J,
If you set the targetId to the relevant project when making the API call, then the custom action should be able to access that project via CurrentObject() function.
I hope this helps.
Roland