Jira Spoke 'Create User' activity error: "You must specify the products that user can access"

Steve Brown1
Tera Expert

Hi Community, 

 

The Jira Spoke 'Create User' Activity is erroring with the below and I'm at a loss to what is causing the error:

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

This Activity has previously worked via a manual test however, nothing in terms of configuration has changed. 

I have since tested the Activity manually entering the values and via a FLOW gathering the values from a submitted Request Item.

 

Would this something that needs to be configured within Jira as the Create User activity doesn't required anything in relation to specifying a product?

SteveBrown1_0-1717492063174.png

#jira

#jiraspoke

#atlassian

#integrationhub

#createuser

14 REPLIES 14

Mark Van Loock
Tera Guru

I'm getting the same error. I can clone the Create User action, but can't see how to add an additional field in.

Thanks. They were all greyed out, but got there in the end!

Josh Pirozzi
Kilo Sage

Hi @Steve Brown1,

 

I've been working on the connection between Jira and ServiceNow over the last week, and had been experiencing a slew of issues/errors where our Dev connection was working fine, and then stopped or didn't allow new Flows/Actions to be associated to them.

 

One thing I was working on was passing Work Notes to the Jira Story associated to a Catalog Task. What I found through trial and error was that my connection issue was related to the 'Connection Attributes' on the Connection & Credential Alias for my Dev Connection. When I removed the 'Server Type' and 'API Version' that I had built for my Dev Connection and replaced them with the OOB Spoke 'Server Type' and 'API Version', my Flow/Action/connection began working again.

Mark Van Loock
Tera Guru

Still stuck with this. The error I'm repeatedly getting is 

Error:  You must specify the products that user can access.

 

The doc here - https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-users/#api-rest-api-2-user-pos... - says 

 

 
products

array<string>

REQUIRED
Products the new user has access to. Valid products are: jira-core, jira-servicedesk, jira-product-discovery, jira-software. To create a user without product access, set this field to be an empty array.

 

I've tried entering "jira-core" into various variables - "product", "products", and an array.string called "products"

 

Every single time, I get the same error message.

Has anyone got this to work in the last couple of weeks? If so, please share the secret.