Hello,
My apologies if this has already been answered; I can't find the relevant topic.
So, I have some integration with Jira and want to add an additional custom field with a date picker. However I don't want to add and static date, I'm looking for something more dynamic, for example, due date: from today + 30 days"
Any suggestions on how to customize this field?
"customfield_10002": "2022-11-13 +30 days"
Thank you in advance
Hi @Alex Zager and welcome to the community,
If you want to add calendar days, then .plusDays(number_of_days) is the way to go.
If you want to add business days, then .plusbusinessDays(number_of_days) is the way to go.
Hi @Alex Zager and welcome to the Community!
The field and the value in it are two different things. You should be perfectly able to add a regular date picker custom field, which you then fill out via the logic in your integration. How you do so depends on how you interact with Jira.
If there is any reason why you cannot provide the proper value for the field from your integration, Jira's built in automation is perfectly capable to fill out a calculated value using smart values.
e.g. the following calculation would add 30 days to the current date.
{{now.plusDays(30)}}
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, thanks for the lead, however it seems like not working for me
I run : {"customfield_10902":"{{now.plusDays(30)}}"}
and still got an error:
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.