Forums

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

Is there a way to create automation rule to create issues for all customer

Rita Saad YOUNES December 26, 2023

Hello, 

Is there a way to scedhule an automation rule to create issues for every customer I have in the list of customer?

 

For example as a survey, i want to create automatic request where the reporter is my customer ( instead of creating manually 100 requests)

1 answer

1 vote
Jack Brickey
Community Champion
December 26, 2023

Hi @Rita Saad YOUNES ,

there is no way OOTB to do this within JSM and automation alone. You would need to look to an add-on for this capability. If you were simply wanting to get more information as a customer satisfaction survey when an issue is resolved, you could add a form with more questions associated.

Rita Saad YOUNES January 30, 2024

Hello @Jack Brickey 

I mean by customers the user they have license in JIRA.

U think is there a way so I can get the users and create for them an automation rule?

Jack Brickey
Community Champion
January 30, 2024

I do not know any way of achieving that With automation. I don't really understand the use case for this. Why do you want to create an issue for every customer? Further how often would you do this? Depending on your requirements, it might be that you could create a CSV file and import that as needed to create those issues. Basically, you would have a row for each customer. You could export the customers to create the initial CSV

Rita Saad YOUNES January 30, 2024

In Fact I would like to create issues for the employee in the company every 3 month to make the appraisal , instead of creating the request as an automation  for every employee so I make 70 automation rules, I would like to create one rule who can create 70 issues. I hope the idea is clear now 

Jack Brickey
Community Champion
January 30, 2024

I don't know of any way of creating an automation rule to do this. I would suggest again that you consider using CSV to accomplish this. I would simply create a calendar event that reminded me to create the issues and I would have a CSV file ready to import. you certainly could look at the API's and come up with a solution to automate it outside of the product.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2024

Hi!

I also wonder about what problem is being solved, and if Jira is a good place to solve it.  Regardless of that...

Theoretically, one could call the admin REST API to get all users with the Send Web Request action, parse the response, iterate over the values, and then perform actions.

The API token created (and rule actor) would need sufficient permissions to access the users with this user function.

Please note: rules are limited to 100 issues / items when branching (and searching) and so I suspect such a rule would not work as intended if there are ever more than 100 users.

Kind regards,
Bill

Like Jack Brickey likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events