Use item returned by the search action in the automation flow

gabriel April 19, 2024

Hi everyone! I'm running an automation that, at a certain point, performs a search action. To continue the process, I need to transition the item returned by the search. How can I do this?

1 answer

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 19, 2024

Hi Gabriel,

It depends on what you mean by a search action. You can use conditions based on JQL. What is the exact scenario?

gabriel April 19, 2024

When a new item is created, I analyze the description for key words. If I find them, the newly created item goes through a transition and, after this, I search for items related to the newly created item through a specific field. Finally, I want to transition the items found in the search, as shown in the image below. I apologize as it is in Portuguese.

Captura de tela de 2024-04-19 11-49-17.png

 

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 20, 2024

Okay, so what is not working with the rule? 

gabriel April 21, 2024

After performing the search and executing the transition action, the transition is not performed on the searched item but on the trigger item.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 21, 2024

Can you share the audit log of when the rule runs?

gabriel April 22, 2024

I made some changes to the rule. Below is the new rule along with the log. Please disregard the written comment that appears in the audit log.


When changing, the trigger is manual from the item. When the transition is performed, I would like the item from which the automation trigger was performed and the searched item to go through the item transition.


When I view the searched item, it remains in the same status as before the rule was run.

 

imagem_2024-04-22_093032619.png

gabriel April 22, 2024

imagem_2024-04-22_093839914.png

Suggest an answer

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

Atlassian Community Events