Forums

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

Creating a rule based on different reporters

Deleted user January 3, 2023

Hey there,

If I want to create a rule, where a certain list of reporters (customers), when raise an issue, a specific participant automatically gets added by default in that issue.

 

How can I do that?

Until now, I am only able to set up a rule, where any issue created would add that specific participant by default.

Project Settings>Automation>Create Rule>When: Issue Created (and then save)............Next component>Then: New Action>Edit Issue, select - Request Participant and then select the name.

 

Thanks

1 answer

1 accepted

1 vote
Answer accepted
Rilwan Ahmed
Community Champion
January 3, 2023

Hi @[deleted] ,

Welcome to the community !!

As you have not mentioned whether you are using Jira server/Data center OR jira cloud, Assuming its Jira cloud, I am giving my inputs below. 

What you have done is correct but it needs slight modification. 

After adding "When: Issue Created", Add condition --> JQL Condition
Enter your JQL like "reporter in (ABC, DEF, XYZ)"
Add New action --> Edit Issue --> Request participant.

Please note: You can add multiple condition and Action in the same Automation rule 

Below screenshot shows how the rule looks like. 

image.png

Deleted user January 3, 2023

Thanks for your explanation @rilwan and yes, it is Jira Cloud.
I am a bit confused about the format of reporters (ABC,XYZ / <hexa numbers>)

What if I have a list of email addresses? Do I still need to add the names or can I use the emails separated with commas?

Can't I just use an bulk list (e.g. an organization) in any condition?

 

Thanks

Rilwan Ahmed
Community Champion
January 3, 2023

Hi @[deleted] ,

Hexanumbers are unique user ID provided by Atlassian.


You can make use of email address in your condition and also the Organization
Example: reporter = 'XXXXXX@gmail.com'
reporter in (organizationMembers("OrganizationName"))

Like Steffen Opel _Utoolity_ likes this
Deleted user January 5, 2023

Awesome! Thanks for your help @Rilwan Ahmed. I was able to create an 'organization' and then create a rule as per my requirement.

Like Rilwan Ahmed likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events