Missed Team ’24? Catch up on announcements here.

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

Manipulate the value of a custom date field to create a DueDate seems not possible ?

Björn Trier January 25, 2023

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.

1 answer

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 25, 2023

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)}}

Björn Trier February 5, 2023

Thanks the Problem was that i had a Datefield not a Date/Time Field

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 6, 2023

Glad you got it working. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events