def METHOD_NAME(context: Context, item: str, attribute: str, value_str: str) -> None:
    """Change the item attribute to value."""
    value: str | list[str] | bool | None
    item_fragment = "reports_overview" if item == "reports_overview" else f"{item}/{context.uuid[item]}"
    if attribute in ("tags", "issue_ids"):  # convert comma separated values to lists
        value = value_str.split(", ")
    elif attribute == "permissions":
        if value_str == "None":
            value_str = "{}"
        value = json.loads(value_str)
    else:
        value = {"true": True, "false": False, "none": None}.get(value_str.lower(), value_str)
    if item == "notification_destination":
        context.post(
            f"report/{context.uuid['report']}/{item_fragment}/attributes",
            {attribute: value},
        )
    else:
        if item == "report" and attribute.startswith("tracker"):
            attribute = attribute.split("_", 1)[1]
            attribute_fragment = "issue_tracker"
        else:
            attribute_fragment = "attribute"
        context.post(f"{item_fragment}/{attribute_fragment}/{attribute}", json={attribute: value})