Forums

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

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 edited

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 Champion
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
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events