Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Set default value for custom field (date) 2 weeks from today()

Dima Astahov
Contributor
May 13, 2024

Hi,

It's April 2024 and I see that everything is very time sensitive in Jira so post fresh question.  Also  tried few solutions from prev posts none of them worked for me.

 

How  I can default my custom field (date type, date picker) 2 weeks from another  Field with ID =1234 (custom  or built in) . Is this possible?  As an option it also could be from today().

For now I think it works only for text field.

 

Thanks much

Dima

1 answer

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Champion
May 13, 2024

Hello @Dima Astahov 

You can use an Automation rule to update the field automatically after the creation of the issue is completed.

If you want to update the field to set a default value within the Create Issue dialog, where the value may be dynamic/relative to another field or the current date, that would require use of a third party app such as Adaptavist's Behaviours app.

https://docs.adaptavist.com/sr4jc/latest/features/behaviours

Dima Astahov
Contributor
May 13, 2024

Thanks Trudy !!  It this native Jira feature or this is app?

Like Aaron Geister _Trundl_ likes this
Trudy Claspill
Community Champion
May 13, 2024

Automation Rules are native.

https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/

However there are limitations on how many rule executions you can have per month based on your subscription plan. Refer to 

https://support.atlassian.com/cloud-automation/docs/how-is-my-usage-calculated/

Dima Astahov
Contributor
May 13, 2024

Thanks Trudy, I did a rule, could not yet the way to manipulate (add 2 weeks) to my source field. But I will  try to learn it.

 

Best

Dima

Trudy Claspill
Community Champion
May 13, 2024

You'll need to look at smart values and functions for manipulating date and time data.

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/

If questions come up, don't hesitate to ask the community.

Like Dima Astahov likes this
Dima Astahov
Contributor
May 21, 2024

Thanks Trudy and all ,case solved

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events