Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Date manipulation scenario

I am trying to calculate an Estimated Delivery Date based on a Planned Start Date and a team's weekly Throughput.  I put the smart-value formula below and it does not work.

{{issue.Planned Start Date.plusdays(7/{{issue.Throughput}})}}

If I remove the Throughput part and just have and hard-coded value it does not work either.

{{issue.Planned Start Date.plusdays(7/1)}}


So I can conclude plusdays can only take a single value as a parameter.  Is there any way to accomplish what I am trying to do?

3 answers

I have the same issue. Did you have any other workaround to add the original estimate to the Start date to calculate the End date?

Hi Robert,

You are correct, as the "plusdays" function doesn't allow more than one value as parameter.

To help us figure out what might be going on. Can you send through screenshots of:

# the rule you're having issues with
# the audit log of the result of the rule

Also, can you please tell us more about the Throughput field. Is it a date type field or is it a number type field?



Throughput is a number field.  I tried just putting the field (that represents a number) as the parameter to plusdays and that did not work either.  So it looks like plusdays can only take an actual number as a valid parameter?


Edit issue

Error rendering smart-values when executing this rule:Failed to get value for issue.Planned Start Date.plusdays({{issue.Throughput: {{issue.Planned Start Date.plusdays({{issue.Throughput}})}}


Thank you for your reply.

It is not currently possible to add math formulas into the plusdays function, as it only accepts numbers as parameters.

We raised a ticket for this enhancement (AUT-1473). This effectively counts as a vote for this issue. You'll get notified on this support ticket when the issue has been resolved and released to server and cloud. (Due to a [bug in Jira Service Desk|] you might need to open the linked issue in an incognito window to see it).



Hi Victor,

I would also like to vote for this also, as I have just spent about 4 hours learning smart-values so that I can add business days to a date field only to find out that it only seems to be able to accept a hard coded value in the automation.  Is this correct?  If it is, I am struggling to think of any real world scenario when this would be useful.  In all examples that I can think on, I want to calculate the days to add based on other fields or some other logic.  Am I missing something?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: Fine Software

Happy New Year, everybody! What better way to kick off 2022 than with a new Marketplace Partner Spotlight ✨ This month, we're getting to know Daniel Franz, co-founder of Fine Software. Fine Software ...

372 views 2 15
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