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

Accepted Answer
0 votes

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 .

...where does JIRA come into place here?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Thursday in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

874 views 4 5
Join discussion

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