Forums

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

advance automation to copy one date field to another

Chris Miller
Contributor
January 15, 2021

We are migrating to Advanced Roadmaps from WBS-Gantt.  I need to copy dates in the (WBS) baseline start date and baseline end date to (adv roadmap) target start and target end dates ?  I was looking to do a manual trigger using Jira Automation, but can't find examples of modifying target dates or baseline dates.  Can someone help?  I am not great at jSON.

1 answer

1 accepted

1 vote
Answer accepted
Nir Haimov
Community Champion
January 19, 2021

Hi @Chris Miller 

Bottom line, all you want to do, is to copy values from 1 date field to another date field (for multiple issues)? 

Chris Miller
Contributor
January 19, 2021

That is correct.  Thank you.

Nir Haimov
Community Champion
January 19, 2021

Ok,
So in your automation rule do this:

  1. In the "when" step, choose "schedule"
  2. put a large value like (10 days) because we want to run it manually and not really every 10 days.
  3. in the JQL field, write a JQL that will include all the tickets with (WBS) baseline that you want to copy to another field.
  4. In the "action" step, choose "edit issue"
  5. choose the new date field you want to fill
  6. in the value put the (WBS) baseline field as smart value like: {{issue.fields.customfield_11111}}
  7. save the automation, you will have a button "run now" because this is a "schedule" automation, so just click to run now, and it will go over all the issues in your JQL and update your new date field with the date in the (WBS) baseline field
Like Amna Khan likes this
Chris Miller
Contributor
January 20, 2021

Thank you, this is very helpful and detailed.

Nir Haimov
Community Champion
January 20, 2021

You are welcome :)

If this solve your issue, please mark my answer as "accepted"

Thanks

Chris Miller
Contributor
March 2, 2021

not sure if yo are monitoring this, but maybe I should have clarified, I am trying to copy the WBS-Gantt Baseline fields to the Adv Roadmaps Target Start & End Date fields.  I can do JQL for the WBS but when I try for the Adv Roadmaps target fields it will not accept and I can search for them as fields I want to modify at all when in Jira Automation.

Amna Khan January 28, 2025

this was helpful, thanks OP

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events