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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 02:10 AM
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?
#jira
#jiraspoke
#atlassian
#integrationhub
#createuser
- Labels:
-
IntegrationHub

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2024 08:09 AM
Hi Mark,
I've resolved the issue after a few attempts - I will post what you need to do tomorrow as I need to log of now.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2024 12:52 AM
For anyone still following this, I have managed to get it all sorted. Here's a summary of the steps I needed to take.
1. Assuming you already have Jira Spoke installed and have a Create User step in your Flow, Open up Workflow Studio and go to the Create User step. Click the "Open Action in Action Designer" button on the right
2. With Create User open, Select "Copy Action" from the ... menu. Give it a new name, and make sure the Application is Jira Spoke.
3. Edit this new action (you can get to it via the workflow studio home page under the Actions bubble. Under Inputs / Action Input click the Create Input button. Name the new input "Products". Change the type to Array.String.
4. Under the Pre Processing section, you need to add the input to the "Input Variables" section: Click Create Variable, name is "products" value is "action > products
5. Still under Pre Processing, in the Script section, around line 16 is the request body creation section. I added this line to both the if and the else section (note that if there are multiple lines, don't forget the comma at the end of each line except the last one! :
Go to sys_hub_flow.list
Right click on the flow to get the sys_id
Navigate to sys_update_version.list and paste in the sys_id of my erroring flow
Select the version you want, then under Related Links, select “Revert to this version”
Revert to a previous (working) version of the flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2024 05:26 AM
Hey @Mark Van Loock,
Thanks for the detailed notes. We've been getting an increase in requests to enhance on our ServiceNow to Jira (and in reverse) integration, so I'm sure I'll reference your post!
Have a great day!
-Josh Pirozzi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2025 10:42 AM
can you please help also with steps to remove user from Jira group, I am getting this error.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2024 06:36 AM
To get my issues resolved wasn't as in-depth as @Mark Van Loock, as we don't need the Product.
Copy the Activity and add the Product Variable as a String
Update the Activity as shown below if you don't need to send any Product info to Jira. Adding in the Product variable Data item to the Input Variables:
Then update the script: