• Community
  • Products
  • Jira
  • Questions
  • Does anyone have an example of a script that would write the results of a SQL query to a page and then run on a regular basis

Does anyone have an example of a script that would write the results of a SQL query to a page and then run on a regular basis

I am trying to set up an alert for people that are listed as contacts for certain components that we maintain. As a change to the component occurs, our technical team will update the database with the specifics of that change. What we want to do is automatically notify the contacts when that change is updated.

Our intitial thoughts are to have pages that represent a group of components and have a standing query that displays the details for the group. If someone wants to be on a distibution list, they would complete a form, which would bascially add the component to their list.

What I've learned is that I can make all the changes in the world to a page and it will alert anyone on the watch list. So I thought I could use that as my trigger, however; data changes within a table on a page don't trigger the alerts.

Any suggestions?

1 answer

I'm lost. :-) You tagged the question with JIRA, Bamboo and Confluence Questions. So what product are you asking about? Can you describe it using the names inside?

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...

206 views 1 18
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