Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

edit scheduled date custom field(date and time field) from scheduled date text in the issue descript

Gomez, Daniel November 2, 2023

In Jira automation, Is it possible to update a date and time field from a date and time found in the description? Ive tried several different ways and the closest I got was the date right but the time will be off 

create variable action: {{issue.description.match("(\d{1,4}([.\-/])\d{1,2}([.\-/])\d{1,4})")}}

edit issue action: {{ScheduledDate.toDate("MM/dd/yyyy").plusDays(1).plusHours(1)}}

 

I tried advanced json:

{
"fields": {
"customfield_10000": "2023-11-02T14:00:00.000+0000"
}
}

 

this works but gives me the exact date and time entered instead of whats in the description

 

 

 

0 answers

Suggest an answer

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

Atlassian Community Events