After an outage on September 1, the Instructure Community is now fully available, including guides, release notes, forums, and groups. If some styling still looks unusual, clear your cache and cookies.
Found this content helpful? Log in or sign up to leave a like!
Hello,
We are finding ourselves creating new Sections in the middle of the school year as we get more students signing up.
Is there a way to bulk assign all the Assignments we have added so far to a new Section, based on an existing section?
I already know how to do it one at a time on each Assignment page under Edit Assignment >> Assign >> Add >> Sectionname
Example Scenario:
We have 4 weekly assignments ; 1 Lesson, 1 Practice, 1 Assessment, 1 Printable Copy of all three.
I have tried: the "Edit Assignment Dates" for all Assignments on the Course >> Manage Subject >> Assignments page, but the new section is not in the list of dates I can change unless I go in manually one assignment at a time and add them. I also cannot see an SIS upload method for bulk assignments.
Solved! Go to Solution.
You will need to know the ID (not sis ID) of the section and ID of each assignment, also the course ID if you're using API. You can also do it with GraphQL mutation with the following query, GraphQL doesn't require course id.
mutation MyMutation {
__typename
updateAssignment(input: {id: "canvas assignment id", assignmentOverrides: {sectionId: "canvas section id, not sisID (E.g. yourschool.com/courses/10/sections/20", unlockAt: "2023-09-17"}}) {
assignment {
_id
course {
courseCode
}
name
}
}
}
The easiest way to code this is using either Google Sheet app script or VBA through Excel. You can try to follow these steps:
This function is not available through the UI interface. However, it's possible with Canvas API using this Endpoint: https://canvas.instructure.com/doc/api/assignments.html#method.assignment_overrides.create
If you know programming you can write a script to add the section and due dates to each assignment. If you need help, feel free to PM me.
I can program but not familiar with the api. Found the prompt: at /graphiql
If you have time would you be able to give an example that would achieve what I'm asking?
section 3 SIS = s3 section 10 SIS = s10 course SIS = c6
What else would we need to know?
You will need to know the ID (not sis ID) of the section and ID of each assignment, also the course ID if you're using API. You can also do it with GraphQL mutation with the following query, GraphQL doesn't require course id.
mutation MyMutation {
__typename
updateAssignment(input: {id: "canvas assignment id", assignmentOverrides: {sectionId: "canvas section id, not sisID (E.g. yourschool.com/courses/10/sections/20", unlockAt: "2023-09-17"}}) {
assignment {
_id
course {
courseCode
}
name
}
}
}
The easiest way to code this is using either Google Sheet app script or VBA through Excel. You can try to follow these steps:
To interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in