Creating Foundry Branches through Ontology Actions or API calls

Hi, I’m trying to automate ticket triaging as much as possible which includes automatic creation of Foundry Branches through a workshop application for a specific ticket.

We tried to use a data connection to Foundry, which works in code repos and as an action, but doesn’t work when calling the action with the workshop context. We also tried calling our own stack using a webhook with Auth, unfortunately it looks like the API endpoint is pretty locked down and we don’t have the correct scope availabe. Any ideas on how to get around that?

Another piece of feedback on Foundry branching:
Adding groups as owners of foundry branches to enable proposal creation or merging.

I think calling your own stack through a webhook with outbound application configured should work, IF you know the scope that is required to call the API to create the foundry branch.

since this is a non public API you would need to ask Palantir for help or try out scopes that might fit.

We’ve already tried that approach but unfortunately we don’t know what the correct scope is, tried reaching out to Pal support but no luck so far. If you figure out what it is, please do share!

@achrisk what is the specific API that you are trying to hit?

Separately, we are working on building out a feature that will allow for greater customization of the security on a branch, including assigning owners to a branch