Can I create users using jira's rest api (POST / rest / api / 3 / user) using Forge?

Hi

I have created an administration screen with a form to invoke rest services from jira v3.

You can retrieve values ​​from a issue, create or update a issue, but it doesn’t work for me if I create users in Jira.
(/rest/api/3/issue)

Can you tell me if I can use the rest api for creating users in forge? (POST /rest/api/3/user)

Thanks very much

Welcome to the Atlassian developer community, @JuanJosGarcaMerino!

No, you cannot create users with POST /rest/api/3/user. As the documentation indicates, this resources is “experimental” with the following caveats:

This resource is retained for legacy compatibility. As soon as a more suitable alternative is available this resource will be deprecated.

And:

Apps cannot access this REST resource.

That includes Forge and Connect Apps.

Right now, the best available mechanism is the user provisioning REST API, which is best understood through the perspective of an administrator. This API is neither part of Jira itself, nor available to Forge or Connect Apps. It is part of the underlying Atlassian Identity platform.

Thank you very much.

When do you think this option will be available?

Regards

@ibuchanan Is there a way to achieve this now? The API seems to still be in experimental

@YvesIvadHABIMANA,

What I wrote 3 years ago is still true today. No change.

1 Like

This is not entirely true. In the documentation it is written

Connect apps cannot access this REST resource.

In case Forge apps also do not support this REST resource, please update the documentation.

Regards.