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.

Thanks.

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

149 views 1 17
Join discussion

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