@lwestman ,
You cannot delete rubrics from past courses if they were used for an assignment in that course.
If I understand you correctly, you are
- In an assignment and going to "find a rubric",
- selecting the current course,
- and seeing rubrics that shouldn't be there because you're not using them in the current course.
If this happens, it is possibly crud left over from a course import.
- You may be using them in the current course but you may not be aware of it. Most likely, you copied the content into this course from another course and there was an assignment that used it. You may not be using it this semester, the assignment might be unpublished, but the rubric is still attached to something so it carried over.
- You may have deleted the assignment that was using it, but the rubric remains.
- This may not have happened this semester, the crud might be left over from previous semesters.
To remove rubrics that you don't need, go to Outcomes and click on Manage Rubrics. There you will get a list of all of the rubrics used in the course. I see 4 for my course this semester, although I'm only using 2 of them in active, published assignments. The rest are crud left over from assignments I'm keeping but am not using this term.
![331387_pastedImage_2.png 331387_pastedImage_2.png](https://community.canvaslms.com/t5/image/serverpage/image-id/31844i7880D1C79F24443A/image-size/large?v=1.0&px=999)
If you click on one of those, then you get the option to delete the rubric. When you click that, it will come up with a warning box:
Are you sure you want to delete this rubric? This action will remove this rubric association from all assignments in the current course, and delete any existing associated assessments.
That warning sounds ominous, but the "associated assessments" refers to completed rubrics, not the assignments themselves. See Assessments Disappear If Rubric Deleted? for more information.
If you would like to know whether a rubric is really being used or not before you delete it, there is a check that you can do using an API call.
Let's say I click on my Discussion Rubric. I get a URL in my browser's location bar that looks like this (the host has been removed):
/courses/2610710/rubrics/1717885
I'm going to modify that pathname to call the API. Add /api/v1 in front and ?include[]=assignment_associations at the end. You may want to paste the entire URL from Canvas into a new tab so you don't lose your place and then modify it. When done, hit enter to load the page.
/api/v1/courses/2610710/rubrics/1717885?include[]=assignment_associations
It will look like junk in the browser, but at the end will be an "associations" property.
![331389_pastedImage_20.png 331389_pastedImage_20.png](https://community.canvaslms.com/t5/image/serverpage/image-id/31845i0411C0CD884BF3A5/image-size/large?v=1.0&px=999)
If there is anything other than an empty set of brackets [ ] after "associations", then the rubric is associated with something and you may want to check out what it is before you delete it.
If you want to make the output easier to read, select everything except for the while(1); at the beginning (start with the left brace) and copy it. Then go to an online JSON formatter and paste the code in there.
I get something like this. I've truncated parts of it for readability, it was quite long.
{
"id":1717885,
"context_id":2610710,
"context_type":"Course",
"data":[
],
"points_possible":10.5,
"title":"Discussion Rubric",
"reusable":false,
"public":false,
"read_only":true,
"free_form_criterion_comments":false,
"hide_score_total":false,
"associations":[
{
"id":3757488,
"rubric_id":1717885,
"association_id":24003058,
"association_type":"Assignment",
"use_for_grading":true,
"summary_data":null,
"purpose":"grading",
"hide_score_total":false,
"hide_points":false,
"hide_outcome_results":false
},
]
}
The associations section is what you're after. Here I haven an association_type of Assignment and an association_id of 24003058. That means the assignment with the ID of 24003058 is the one using it.
On the other hand, if I click on the Make a Map Review, I get the pathname in the browser location bar of
/courses/2610710/rubrics/1717888
When I modify that to add the necessary components to make it an API call, I open this page
/api/v1/courses/2610710/rubrics/1717888?include[]=assignment_associations
In this case, it was easy to tell. The browser page ended with
"associations":[]}
That's an empty association since it has the empty brackets (an empty array), so I know the rubric isn't used anywhere and it's safe to delete.