Can I automate the removal of a Jira task from a confluence page once that task is marked complete?

Tiffany Miller November 5, 2024

I'd like to set up an automation that can can scan a confluence page for Jira task, and once it comes across a Jira Task with a status of 'done' it deletes it from the page  I've heard there might be a Jira macro that can do it, but I haven't discovered any documentation on this particular request.  Can anyone point me in the right direction here?

1 answer

1 vote
Bill Sheboy
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.
November 6, 2024

Hi @Tiffany Miller -- Welcome to the Atlassian Community!

Referring to your other question, to remove the task the page content would need to be updated using the REST API endpoint.  That is likely to be difficult as it would need to parse and then remove the specific action item.

 

An alternative is to use the Task Report macro (perhaps on another page), which I believe hides the completed / checked off action items by default with the "Task Status" option:

https://support.atlassian.com/confluence-cloud/docs/insert-the-task-report-macro/

 

Kind regards,
Bill

Bill Sheboy
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.
November 18, 2024

Hi @Tiffany Miller 

Just checking if your question is resolved or if you are still working on this one.

Thanks!

Tiffany Miller November 19, 2024

@Bill Sheboy I am still working on this one, playing with the macro option before giving up on this.

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events