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)" } }
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
andjira-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": []
}
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.