Automate approval of tickets with a certain subject line

Kiran Negi (ADV D AA) [X] October 6, 2023

We are trying to automate the approval of tickets coming with a subject line SecurityHub . We have created a rule but it doesn't execute on ticket creation.

 

 

1 answer

1 vote
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 6, 2023

Hi @Kiran Negi (ADV D AA) [X] 

This should be possible, but might need more information...

  • Is SecurityHub the entire title - or are there words before/after?
  • Could you provide details of your current rule? A screenshot would be great

 


As an example, here's a rule I tried which worked fine...

  • Trigger: Issue Created
  • Condition: Issue Fields Condition
    • Field = Summary
    • Condition = contains
    • Value = SecurityHub
      • Match Case = TRUE
  • Action: Approve/Decline Request
    • Decision = Approve

^ Let us know if this works for you! If not, more information would be great :)

Ste

Kiran Negi (ADV D AA) [X] October 10, 2023

Hi @Ste Wright 

 

I dont see the options you have in action field.

attached is the screenshot - 

 

Capture.PNG

Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 15, 2023

Hi @Kiran Negi (ADV D AA) [X] 

Have you tried searching for it?

I also assumed given it was an approval, that this was a JSM Project - is it? If not, how are you "approving" the issue?

Ste

Kiran Negi (ADV D AA) [X] October 16, 2023

Hi @Ste Wright 

 

I made some changes to the rule, and it gives me error as shown in attachment. I understand that it might be because of the workflow we have. Is there any way I can skip this workflow restriction. Thanks workflow.PNG

 

error.PNG

Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 19, 2023

Hi @Kiran Negi (ADV D AA) [X] 

Are you using the Action recommended above?

It looks like you might be using the "Transition Issue" action which is not the correct one.

Ste

Suggest an answer

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

Atlassian Community Events