How can I setup Jira to create a ticket for Confluence pages not changed in a year?

jeff_standard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 15, 2025

Is it possible to have Confluence (Data Center 8.5.17)checking daily for pages not updated in a year?  Then have Confluence call Jira (Data Center 8.20.11) to create a Task ticket for each stale page found.

 

I have Jira Automation installed, and I have Script Runner installed on both Jira and Confluence.  I'm just looking for advice on how to make this happen.

1 answer

1 accepted

2 votes
Answer accepted
Humashankar VJ
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 Leaders.
January 19, 2025

Hi @jeff_standard 

Initially, a scheduled job can be created in Confluence using ScriptRunner, configured to run daily and identify pages that have not been updated within the past year.

  • Within this scheduled job, a REST API call can be implemented to Jira, generating tickets for each stale page detected.
  • Moreover, a rule can be set up in Jira Automation to handle incoming requests and create corresponding tasks, ensuring seamless integration and efficient management of stale pages.

You can easily find and customize a sample Groovy script from open-source repositories to fit your needs.

Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards

jeff_standard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 21, 2025

That worked!  We pointed our groovy script to just one Space in particular.  I would think others may want that solution as well, maybe even for an entire instance.  It's a great confluence grooming exercise.  Might be a good addon idea in the future.

Thanks so much.

Like Humashankar VJ likes this
Humashankar VJ
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 Leaders.
January 21, 2025

Thanks @jeff_standard for that added note - That helps !!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events