Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I change the start date of a linked issue to "now" with post functions and nunjucks?

Hi everyone,

I have configured my Jira instance to collate all the issues within our project portfolio into a capacity plan program I created in Big Hand. I am using the original estimate to estimate the effort required for each task, these are then scheduled in the resource view provided by BigHand according to their start date and due date. 

It works amazingly, but the view is somewhat ruined by delayed tasks: I am not able to see how these are impacting on our capacity and what is the domino effect of a delayed task on the rest of the sprint/project stream.

I am willing to have a small discrepancies for single tasks running late, but I would like to reschedule the linked successor tasks as soon as the late one goes into "done" status.

I plan to do that with a post function attached to the transition that set the "predecessor" task to done. I just have a small issue, I don't know how to instruct JMWE to set the start date for the "successor" task to the moment the "task completed" transition has been executed.


is there a way to set the start date of a linked issue to "now" using nunjucks? Could anybody help me in understanding what is the correct expression I should use?


Thank you very much 

1 answer

0 votes


did you look at the "Expected Value" help tab right below the Value field of the post-function configuration screen? It shows an example of how to input the current date, even explaining how to make sure the date is set to "today" in the desired timezone, as "now" can be one day in one timezone and the next (or previous) day in another:

{{ now | date("tz","America/Los_Angeles") | date("YYYY-MM-DD") }}

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Opsgenie

New! Investigate and re-deploy stable deployments from the Incident Investigation view in Opsgenie

We’re excited to announce the latest enhancement to Opsgenie’s Incident Investigation view. Now when an incident occurs users can select the previous stable deployment, and begin the redeployment pro...

206 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you