Forums

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

Trigger an Automation with a Global Looping Transition

Alex Larini
Contributor
February 10, 2023

Hi everybody,

in order to record some stuff, I want my users to be able to create a special jira issue directly with a click, from any other issue they're working on.

For this, I've created a Global Looping Transition, and now I have my button.

My problem now, is how to trigger an automation from there.

I'm using no third party add-on. From the transition post functions I can fire just generic events (like issue created or moved etc), I haven't found a way to fire a custom one.

I've created a workaround creating a custom field "trigger", always at 0 and set at 1 only by that transition, with the automation being triggered by the change of value.

Is there any better way to trigger an automation, from a looping transition?

Thank you

2 answers

0 votes
Magdalena Zhisheva
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2023

Hey @Alex Larini ,

Have you tried to achieve your request with Automation rule -> Manual trigger

The button is in the tickets and you may define the issue types, field values or who can trigger the rule (by Groups)?

Screenshot 2023-02-10 at 20.05.27.png

0 votes
Magdalena Zhisheva
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2023

Hi @Alex Larini , 

What kind of automation do you want to trigger after the Global Looping Transition?

Alex Larini
Contributor
February 10, 2023

Just the creation of a new issue, of a custom type, that take some data from the original issue + some data that has to be entered by the user

Magdalena Zhisheva
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2023

Hi @Alex Larini 

Well, you may go to the generic event -> Edit and select create issue event instead.

Then you can add a post event like copy from other field and configure it.

More details you may found here

Note: May be you need to test this in safe environment first :D 

Hope it helps!

Like Alex Larini likes this
Alex Larini
Contributor
February 10, 2023

This is really useful, especially to create custom events, thanks!

Now I have to understand how to make the automation listen to that new event :D

Like Magdalena Zhisheva likes this
Magdalena Zhisheva
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2023

@Alex Larini I thought you need to click the button and then create a new issue with some data or you want to use automation rule as well?

Alex Larini
Contributor
February 10, 2023

I've used a Webhook, I didn't think about that possibility. But I would still be really interested in knowing how to listed to a custom event!

Magdalena Zhisheva
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2023

I've tested the custom create event and it's not working on my side :D May be the automation rule with manual trigger is your thing 

Suggest an answer

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

Atlassian Community Events