I'm using an automation platform to automate new content migrations in canvas. My issue has to do with shifting dates correctly from the template to the new course. I'm using the content migration end point to create a new content migration for my course with the following parameters:
migration type: course_copy_importer
settings[source_course_id]: Course template ID
date_shift_options[old_start_date]: Start date from Course template
date_shift_options[new_start_date]: Start date of the new course
date_shift_options[old_end_date]: End date from Course template
date_shift_options[new_end_date]: End at date of the new course
date_shift_options[shift_dates]: true
It seems that when I use the UI AND when I use the API to perform a content migration, neither shift/adjust the dates correctly. Some dates ARE perfectly placed within the new start and end dates, while others are not. Has anyone else had this issue? I want to be able to have my new assignment due dates correspond to the correct days within the new start and end dates. It's my understanding that this ought to be possible.
Hello there, Heather Cherewaty
Welcome to the Canvas Community. Thanks for posting your question. I'm not exactly sure of an answer for you, but I wanted to let you know that I will share your question with the Canvas Developers group here in the Community in hopes that your question will get some additional exposure. If you are not yet following this group, please use the link that I have provided, and then you will see two buttons at the top right corner of the screen: "Follow" and "Actions". Click on both of them. When you click on "Actions", you'll need to select "Join group".
Also, I'm not sure if you've seen this, but there is a "Canvancement" (Canvas Enhancement) developed by one of our fellow Community members, James Jones called Adjust All Assignment Dates on One Page that you might be interested in looking through. James provides detailed instructions and short video tutorials on how to use a Google Spreadsheet to change due dates rather quickly. I hope this might be of help to you, too.
Good luck, Heather!!!