Forums

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

Is it possible to create a custom button to trigger an automation?

Zaldy Parian
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.
August 25, 2021

Hi,

I created a manually triggered automation. And I know I could select that automation from the right bottom panel when view the issue. But is it possible to create a custom button and assign the automation? I also want to hide the button on certain status.

2 answers

1 accepted

0 votes
Answer accepted
Jack Brickey
Community Champion
August 25, 2021

Where would you display this button? The manual automation runs on a specific issue so that is why the automation is accessible from the detail issue view. In any event there is an a way to create a button to run the automation. You can do it from the detail issue view and you can do it from the rule itself.

Zaldy Parian
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.
August 25, 2021

Hi Jack,

I'm hoping I could position the button at the top near the Link Issue button. Or any where in the detail issue view where user can see it intuitively.

 

Cheers, 

Jack Brickey
Community Champion
August 26, 2021

Unfortunately this is not possible. You might want to search jira.atlassian.com for any current suggestion of making the automation ’button’ more prominent. In my opinion this is a matter of training and getting used to how to run the automation. Granted you can always make improvements in a user interface.

Like # people like this
Bill Sheboy
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.
August 26, 2021

Hi @Zaldy Parian 

Yes, and...to what Jack notes, please consider...

  • pausing to consider what problem you are trying to solve with the button,
  • what problem the automation rule is solving, and
  • you may identify a better rule trigger which eliminates the need for the separate button.

Best regards,
Bill

Larry Johnson February 11, 2022

Here is what I have done to accomplish this: create a Jira automation rule that is triggered using the "Incoming Webhook" option.  Then using a web server setup (Apache, etc.) create an endpoint that simply sends a POST to the URL that was created within the Jira automation.  Now you have a URL that you can bookmark in your browser and select whenever you want to run that automation rule.  You could also secure the endpoint with a bearer token or authentication.

0 votes
Fabian Lim
Community Champion
August 25, 2021

Hi @Zaldy Parian

You can create a transition in the workflow that calls itself.  Check this post: https://support.atlassian.com/jira-cloud-administration/docs/work-with-issue-workflows/

Then with jira automation, you can perform any actions when the transition is performed.

You can also use conditions on this transition so it display in certain statuses. Example: https://youtu.be/1ZKVN0VeaB4

Zaldy Parian
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.
August 25, 2021

Hi Fabian,

Thanks for the suggestions. I'll have a play with these later tonight.

Cheers,

Like Serhii Okhotnik likes this
Jack Brickey
Community Champion
August 26, 2021

Yes an interesting work around. However I still question why you would want to create another way of achieving something that is right in front of you.

Like # people like this

Suggest an answer

Log in or Sign up to answer