Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create User via API = You must specify the products

Mark Van Loock June 18, 2024

We have been using ServiceNow to create new users in Jira via an API for a while but something has changed in the last few weeks. The error I'm receiving is shown below. 

I've tried specifying "Product" and "Products" both as string values and as an array, and as per the documentation in the link below, I've tried every name of product I can think of. Nothing has so far worked.

Can anyone provide any pointers please.

 

 

{
    "Action Status": {
        "code": 1,
        "message": "Error:  You must specify the products that user can access. (Process Automation.5048af621bbe46105d9aa860f54bcbd4; line 4)"
    }
}

 

https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-users/#api-rest-api-2-user-post

 

 

2 answers

0 votes
Adam Wordsworth
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 26, 2025

@Andras M_ Thanks for the solution, I had the same issue for adding users to a group. Would it be possible to update your documentation?

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-groups/#api-rest-api-3-group-user-post

 

Cheers

Andras M_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 27, 2025

Hey @Adam Wordsworth

Could you share the an example of the payload that triggered the issue on the endpoint you've shared and the payload that fixed it?

0 votes
Andras M_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 21, 2024

Hey @Mark Van Loock

As of May 9th 2024 the products field has become mandatory when creating users (see changelog and the deprecation notice for more information).

 

Valid product name for the products field: jira-core, jira-servicedesk, jira-product-discovery and jira-software. To create a user without product access, set this field to be an empty array.

You will need to update your payload by adding the products field. If you do not intend to give product access to the user, leave it as a blank array. Please see below for an example payload:

 

{
"emailAddress": "testuser@example.com",
"products": []
}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events