SharePoint like event receiver functions exist in "On demand JIRA"

Hi All,

Now in my office, they switch into "On demand JIRA" form SharePoint 2010.

In SharePoint 2010 have the event receivers to trigger the user code when the following things are happen,

1. Issue Created time

2. Issue Updated Time

3. Issue Deleted Time

How can i deploy a user code to trigger when the above scenorios are happen in "On demand JIRA".

Please guide me to achieve my goal.


1 answer

0 vote

Jira logs issue created and updated on the issues. It also fires "events" out when they happen. Generally, an "issue created" event for creation, but the updates are a lot more granular - you've got comments, edits, move through transition, work logged etc.

Jira does NOT store "delete" though. It DOES fire an event for it, but the point of delete is that the issue is deleted, so there's no where left to actually store deletion date/time.

Anyway, for events you can easily write a "Listener" that can catch any event and run your code.

However, you're using OnDemand Jira, so you can't actually implement these - custom code is not allowed in OnDemand (yet). Some options:

  • Migrate to your own Jira, and write the listeners
  • Wait until OnDemand supports plugins (not sure when/if that might happen)
  • Write and run something externally that queries Jira over REST to see if anything needs doing in your other system.
  • Configure the events to send emails to a dedicated user (the events are already used by Jira to generate emails). The dedicated user(s) would actually be mailboxes that you can scan for instructions to run your code (i.e. when a "delete issue" email arrives in this email box, run script called thingy_was_Deleted)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

845 views 3 12
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