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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.