How to update Target start field with date from a custom date picker field

Jo Aug
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!
July 16, 2024

Help please on How to update Target start field with date from a custom date picker field

i found this code is the knowledge base  but the custom field i want to get the value from  is a user selected date field on the issue .   i modifed  this code to use my custom field id  

 

  • {
      "fields": {
        "Target start": "{{issue.sprint.last.startDate.jiraDate}}",
        "Target end": "{{issue.sprint.last.endDate.jiraDate}}"
      }
    }

 

my code  --- i keep getting error msg

{ "fields": { "Target start": "{{issue.customfield_16723.jiraDate}}" } }

 

 

 

 

1 answer

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 16, 2024

Hello @Jo Aug 

Welcome to the Atlassian community.

In what context are you trying to execute that code? Is it in an Automation Rule?

If so, please provide screen images that show the entire Automation Rule and the output in the Audit Log from the execution of that rule.

Jo Aug
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!
July 16, 2024

hi i just got it working -thx

Suggest an answer

Log in or Sign up to answer