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 votes

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,893 views 19 22
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