Forums

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

Sending two events in a state transition

DeepakBhatia
Contributor
December 27, 2011

Hi,

I get by default one event to be fired when a state transition occurs.

Can I get to fire more than one event when a state transition occurs ?

Thanks

Deepak Bhatia

3 answers

1 accepted

0 votes
Answer accepted
DeepakBhatia
Contributor
December 27, 2011

Ideally to keep things simple, we should have a single event to be fired on a single state transition because the more events getting fired will complicate the things.But JIRA gives option to select user defined event.

Anyway I will manage with the same.

0 votes
NielsJ
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.
December 27, 2011

An event after a workflow transition not of an usual event. Usually you would send multiple events that may be handled by one or many handlers. In JIRA the event mainly triggers the sending of notification mails. So you would not send multiple notifications ;-)

0 votes
Nic Brough -Adaptavist-
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.
December 27, 2011

No.

I think you might be able to rig something up in code, but Jira does block you from using the built-in post-function to fire more than one event. I imagine Atlassian have a good reason for doing that, but I'm not sure. There is an issue open about this somewhere (related to changing assignee in an edit not firing an "assigned" event because it's already fired an "edit").

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events