The JQL I have wrote for my service project keep giving the prompt "no action"

Sebastian Okstoft Ferraris January 24, 2025

Hi

For my service project, I have mad an atomated rule, that should take all requests from one of my portal groups (i have two) and direct them to a specific email address. So that all of the request goes to a supervisor that then sorts them and forwards them afterwards. 

The issue I'm having is I do not know what to write in my JQL field so that it recognizes it automatically and then sends the email, can you guys help me ?   

Right now my JQL states this: 

"Customer Request Type" = "Common questions for ME / Ask a question"

The picture below shows the service page. 

ttt.png

2 answers

1 accepted

2 votes
Answer accepted
Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 24, 2025

Hi @Sebastian Okstoft Ferraris and welcome to the Community!

For questions about automation rules, please share screenshots showing your full automation rule as you have it right now and - in this specific case - also of the workflow associated with the Common questions ..." request type.

What you want to do suggests your JQL and rule should look more or less like this:

Trigger: Scheduled (e.g. run the rule once per day of at specified time intervals)

  • JQL:
  • "Customer Request Type" = "Common questions for ME / Ask a question" AND
    assignee IS EMPTY

Action: Edit issue (set your supervisor as the assignee of the issue(s))

Hope this helps!

Sebastian Okstoft Ferraris January 24, 2025

oo.png

Sebastian Okstoft Ferraris January 24, 2025

Hi, thank you for your response, this is how my atomated rule looks like at the moment.  And here is the workflow related to the request, does this help you further in assisting me? ooo.png

Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 24, 2025

I had not looked very closely at your JQL yet, but "Customer Request Type" should be "Request Type".

If you change that, you should be fine. If you still see Invalid JQL errors, try to run your query in Filters > View all issues. You will be able to see there if it is valid.

At the same time, if you want to respond to the issue created event, it is even easier to use an issue fields condition instead of the JQL condition you're trying to apply there:

Screenshot 2025-01-24 at 13.58.47.png

That will just allow you to select the appropriate request type from a list, so you can't possibly make any mistakes.

 

Tessa Tuteleers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 25, 2025

I just want to add to this that indeed it is easier (and better for performance of the rule) to use an issue fields condition. 

However, in this specific case you should be mindfull of a specific bug. 

When using the issue fields condition with "Request type", the condition will fail if you have added translations in JSM for the Request type (And the request was originally created in a different language). 

Using the JQL query makes sure this does not happen. 

So unless your JSM project does not have any translations, I woud advice to keep using a JQL condition for the Request types. 

Sebastian Okstoft Ferraris January 27, 2025

Hi, based on the information I have provided what would my JQL need to function, it keeps saying "no action preformed" in the audit log? 

1 vote
Sebastian Okstoft Ferraris January 24, 2025

This is meeasge the JQL display www.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events