Forums

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

How do I autofill a Date field based on 2 other field results?

Liam Denvir
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 15, 2025

I want to automatically populate the Target start date of an issue based on the responses in two other fields (SizeOfMatter & TargetEndDate). I'm not sure how to annotate this in confiforms & have tried automating this on issue creation in Jira, but while the rule completes, the Target start date field remains 'None'.

Fields with set responses

"Description": "*Time required* : [entry.SizeOfMatter]", - has 4 options, with IDs 1, 2, 3, 4. 

"customfield_2":"[entry.TargetEndDate.jiraDate]", - this is selected by the submitter.

Rule to be created
IF [entry.SizeOfMatter] = 1, then "customfield_1" : "[customfield_2.minusDay(14)]",

 

Is this something that's possible to do through confiforms?

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
October 15, 2025

Something like this may be

#if(${SizeOfMatter} == "1")
"customfield_1": "[entry.TargetEndDate.add(-1209600000).jiraDate]",
#end

(1,209,600,000 is the number of milliseconds in 14 days

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events