Fire Issue Event manually without changing status Edited


I'm trying to find a way to manually fire a specific event from JIRA issues without having to update it, since it has to remain on the same status, and it needs to be possible from any status (of a very long workflow).

This question has a good method of doing so from an escalation service, but in my case, I need to be able to do it manually from the issue screen itself. I was thinking of using a little plugin with web-items, but I don't know if that could actually execute code, instead of just using it as context or condition. Maybe a link, but I didn't find anything about firing events from the REST API.

Is there a way to do this? Is it a wrong approach in any way?

2 answers

1 accepted

0 votes
Accepted answer

Peter beat me to the best answer, but if you do want to do this without add-ons, you can.  Add a "looped transition" to the workflow whereever you need to trigger the event, one that goes back to the same status.

This will do what you want, but has drawbacks - it's in the workflow, you have to edit your workflows to do it, and it writes to the issue history (mixed bag on that one - you'll get an audit log of who triggered notifications and when, at the expense of an issue history that could contain a lot of "issue didn't really change" lines)

@Nic Brough [Adaptavist], that's actually what we've been doing for some time in some statuses, but our workflow currently contains 93 different steps, and still tends to grow. I'm trying to take it out of the workflow for that reason, because our team is demanding it on different steps, but it still remains as an alternative.

If there was a way to make it a global transition, but coming back to the same status as before, that would probably be the best case for us.

We ended up just adding transitions along the workflow like that. Will keep doing it by demand, on required statuses.

Mmm, the obvious instinct is that you've probably got 80 too many steps in the workflow.  Also, probably more to the point, the desire for arbitrary "fire event when nothing has actually happened" suggests you've set up Jira to do something that might be more sensible to do in another tool.

A good example of this was an old client who, while they had a small workflow, triggered hundreds of events from a few status within them.  Turned out they really needed a build tool like Bamboo, as their events were "please build, given info in Jira".  Properly integrated, that moves into Bamboo.

1 vote
Peter DeWitt Community Champion Oct 18, 2017

@Guilherme Peres, look at Scriptrunner.  You can add a web item and tie it to a backend script that will fire you event.


@Peter DeWitt, thank you for your suggestion. We have Script Runner, but still at the free version (3.1.4), and can't afford the paid version with our current Jira license. From what I've seen, web items are only supported from version 4.3 (or onwards, so that's a limitation.

Peter DeWitt Community Champion Oct 19, 2017

@Guilherme Peres, if you can't afford the Scriptrunner add-on Nic's suggestion on the looped transition will be the way to go.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

804 views 3 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you