published date in comala workflow integrated with JIRA

I have a doubt about published date in comala workflow..
Is it possible I get the published data in a page that it is using Comala Workflow at Confluence and using this published date for another type of control in Confluence?
For example.. I have the follow situation in my client…
I need to control my deadline for review in the company’s documentation.. all the documentation is published at Confluence using Comala Workflow.
I want to use published date to control this deadline..
For example.. one page published on May, 28th 2017 must will be reviewed on May, 28th 2019 (2 years after).
Is there any control in Comala Workflow that allow me to have this control?
I need to know published date of each page to input the deadline next review.. and having this deadline available for search or receiving a reminder by email when deadline is near.

2 answers

1 accepted

This widget could not be displayed.

You can use duedate parameter in state macro to set a due date for a state. Here is an example how to set-up a due date as an workflowparameter.

 {workflowparameter:expiration_date|type=duration}
   P1Y
 {workflowparameter}

In the example below, when the Publish state expires, an email will be sent to the author of the page. 

{state:Published|final=true|updated=Draft|duedate=@expiration_date@}
 {state}
{trigger:stateexpired|state=Published}
 {send-email:user=@Author@|subject=Page: @title@ has expired}
 @page@ has expired.
 {send-email}
 {trigger}

You can find more information about state and duedate at https://wiki.comalatech.com/display/CW/state .

This widget could not be displayed.

...where does JIRA come into place here?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

295 views 0 13
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