Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Website Check Script - if down, create task

Timothy Ryner
Contributor
May 19, 2023

Has anyone ever written a script that touches an external (to Jira) webpage every hour or so, and performs some action in Jira based on the response code?

I manage a bunch of web apps, and would love to get Jira issues sent to me when a site responds with something other than a 200?  Create a new issue in a project with details on the site that failed the status check.

Ideally, I would have a bunch of parent issues for the sites, and if there is a problem with a site, a subtask is created under the site’s parent issue. That way, I could add more sites to the checker over time, and let the script loop through all of the main issues. 

We are running Jira Server v9.7, and the latest Scriptrunner & Automation plugins. 

Anyone have experience touching external sites with scriptrunner? Even though I’m not fluent with groovy, I could probably piece together the rest of the script myself using previous community posts and the Adaptivist Library (and ChatGPT…LOL). 

Thanks all!

1 answer

0 votes
Andy Heinzer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 28, 2018

Sorry to hear about this problem.  However I believe this was in regards to an incident that happened today that affected some Jira Cloud sites.  I see that you created a support request for this problem as well.  We documented this problem in https://status.atlassian.com/incidents/9t2gkjp7l29m

This issue appears to have been resolved at this time.

While we are happy to try to help with these kinds of problems here in Community, in the future should you find your Atlassian Cloud site is not functioning correctly, it might be a better route to reach out directly on https://support.atlassian.com/contact and then select Technical problem, your product, in this case Cloud, and enter your URL.  This ensures that your report is handled directly by our Cloud support team.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events