You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi all,
I'm trying to use a Duration field (short text) to update my Due date field. The math will hopefully be:
Start date + Duration = Due date
with the Duration being number of days.
I've tried the following iterations based on other posts in the community but none of these worked:
{{issue.Start date.plusDays(issue.Duration)}}
{{issue.Start date.plusDays(issue.Duration.asNumber)}}
{{issue.Start date.plusDays(issue.Duration.value.asNumber)}}
Any suggestions?
Hi @Holly Robillard -- Welcome to the Atlassian Community!
When you note that none of the things you tried worked, what did you observe happening?
Would you please post an image of the audit log details showing the rule execution? That may provide some context for this symptom. Thanks!
UPDATE:
I tried this and this worked for me with a short text field:
{{issue.Start date.plusDays(issue.Duration.asNumber)}}
Kind regards,
Bill
Hi Bill!
What I was observing happening was that I was getting a successful run of the automation but that the due date field was still empty. I just replaced the line I had with what you've listed above and it worked. I'm still not quite sure why it was giving be a success message with no date update before but I'm happy it's working now.
Thank you so much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am glad to learn that is working!
Smart values are name, spacing, and case-sensitive, so perhaps there was something the rule didn't like. When something looks like it should work, but it does not, here are a few things to try:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I write up a ticket the due date is present, however once I submit it I can no longer see the due date.
Would this be something that my development team can add back on the the view or is the due date no longer visible once the ticket is submitted.
2 weeks ago, I was able to see the due date that I placed on each item, now the date disappears upon submission.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.