I am currently trying to give a Due Date to a SubTask. To do this, I take a custom field from the parent and try the following in the Smart Value:
{{issue.parent.EntryDate.minusDays(7)}}
But this way I get nothing back. Comments with this smart value are empty.
Entry date returns a date in yyyy-MM-dd format, it is also a date field on the parent. But apparently I can't apply the date functionalities of the SmartValues to my own fields.
Is there a way to get the date - 7 days from my field using SmartValues.
Hi @Björn Trier - Welcome to the Atlassian Community!
You have to use the field name EXACTLY as it is create - case and spaces and all. I doubt your field is really EntryDate with no space, but it might be! The other thing is to use the custom field ID. Something like:
{{issue.parent.customfield_10045.minusDays(7)}}
Thanks the Problem was that i had a Datefield not a Date/Time Field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad you got it working.
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.