Description:
When copying an Original course to another course, if the "Settings" checkbox is not ticked during the selection of the data to copy, the copyHistory property is not included in the response of /learn/api/public/v3/courses/{courseId}/ when querying the new course
Steps to Repeat:
- Log into Blackboard Learn as an administrator (Original or Ultra)
- Create and install a new REST API integration on the server
- Go to System Admin > Courses and create a new Original course with the default settings
- Once it's created, search for the course in the Courses page and click the chevron next to it > Copy
- Leave the default option (Copy into a new course) and add the new Course ID > Submit
- In the next screen, don't tick anything and click Submit
- Once the Course Copy process is complete, query the course info through the API /learn/api/public/v3/courses/{courseId} changing the courseId with the PK1 of the copied course
Observed Behavior: Response is missing the copyHistory property
Expected Behavior: copyHistory property is included in the response
- Go back to the system and go to System Admin > Courses
- Locate the same course created initially and click the chevron next to it again > Copy
- Leave the default option again and add a new course ID
- In the next screen to select materials to copy, tick the entire Settings portion > Submit
- Once the Course Copy process is complete, query the course info through the API /learn/api/public/v3/courses/{courseId} changing the courseId with the PK1 of the second copied course
Observed Behavior: Response does include the copyHistory property as expected
Expected Behavior: copyHistory property is included in the response