Forums

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

Delete Requests with specific description

Flynn Rosenbohm November 25, 2024

Hello, i have a Problem regarding the Jira Automation, where i can't seem to delete multiple (or singluar for that matter) Requests at once. I have set up a Automation in Confluence to create Tickets in a Jira Project. When i create a new Space, there will be auto-created Tasks that will get created in this Jira-Project. 

Now i want to delete these requests automatically, as to not overflow our Project with useless tasks. This doesn't work. I have created multiple automations that should delete any requests where {{issue.components.description}} or {{issue.description}} beings with or even contains the following text: "Klicken Sie auf das Stiftsymbol"

This does not work. It says in the Audit-Protocol that the Ticket did not pass the test, which is strange, because the request literally starts with this text. Does anybody have an idea why it's not working? 

1 answer

0 votes
Rik de Valk
Community Champion
November 25, 2024

Hi @Flynn Rosenbohm

Two tricks that I use on a daily basis for troubleshooting automation rules, are: 

  1. The trigger 'Manually triggered'
  2. The action 'Log action'

First I switch my trigger to 'Manually triggered'. This allows me to trigger the Rule manually from an Issue. This is super useful for testing / troubleshooting Rules, because you don't have to actually reproduce the Trigger (create issue, transition issue or whatever). 

Second, I use the the Action 'Log action'. This will print information to your Audit Log. 

For troubleshooting your example, I would put this in the Log Action: 

Description: {{issue.description}}

Once you done that, you can manually trigger the Rule from within one of those automatically created issues. 

Then you can look in your Audit Log to see what it prints. This way you can check if you have indeed used the correct Smart Value and if this Smart Value indeed contains the 'Klicken Sie auf das Stiftsymbol' text. 

I hope this helps you in your journey of crafting effective Automation rules!

Have a nice day!

Rik 

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