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

178 views 1 10
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