Forums

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

Setting a date that automatically updates

Hannah Arnette August 20, 2020

Hello, all,

I have a coworker who wants to automate dates on pages within Confluence Data Center so they'll update every week. For instance, today is 20 August and the due date is 21 August. She wants the to automatically update every Friday to the following Friday's date (so it would update to 28 August).

I did find the //date lozenge option. I think that will work for the moment, but it still requires that she goes in and updates the date every week. 

This is intended to help her Project Management workflow. Our project currently does not have enough JIRA licenses (and we might not ever reach the amount of JIRA licenses needed). Only a handful of us have JIRA licenses, but everyone on the project has access to Confluence. 

I'm not finding any simple workarounds and I've searched through Atlassian Community to see if anyone has had any similar questions. Is this something that would require purchasing a macro? Or could I conceivably write a script (something I haven't done yet, but am certainly willing to learn) and insert it using HTML? 

Thanks!

3 answers

1 vote
Stiltsoft Support
Atlassian Partner
March 23, 2022

Hello @Hannah Arnette ,

Could you specify your use case a bit more? Are there any other updates but for the due date on the target page? If so, Handy Timestamp could help you. It allows to insert the time of the page last update, creation, or macro inserting. The first option could work for you in case you edit the page before due date changing. Handy Timestamp will show you the last update  date on the page automatically in this case.

Otherwise, try Handy Date to speed up the date switch in Confluence. With it, dates can be changed on the fly in the page view mode.

These both macros are a part of Handy Macros for Confluence app. Hope that helps :)

Best regards,

Elena

1 vote
Dominic Lagger
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.
August 21, 2020

Hi @Hannah Arnette 

I think this would be possible with an user macro:

The thing is, the dates are a bit tricky in confluence with velocity.

Question:

  • Is there a rule, when which date should be displayed? 

If there is a rule, perhaps I could help, but no guarantee :) 

Regards, Dominic

0 votes
Kirkie
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.
August 20, 2020

@Hannah Arnette 

Is this for Jira or Jira Service Desk Project?

What version and is this cloud or server?

Do you have Scriptrunner or Automation for Jira?

In your project settings do you see Automation or Project Automation settings?

This is relatively simple to do depending on your current situation.

Let me know!

Hannah Arnette August 20, 2020

It's for Confluence Data Center. We can use html/wiki markup. 

I feel like this has to be a really obvious solution, but I'm learning about Confluence as I go.

Kirkie
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.
August 20, 2020

What youre referring to with due dates is in reference to Jira tickets, correct?

Then the automation around updating the due date field would happen in Jira. Not confluence.  So the questions above are for Jira I believe.

Hannah Arnette August 20, 2020

Ah, no. It's for pages within Confluence. I'll edit my post to more accurately reflect the situation.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events