Issues with pulling in Sub Category Posts w/ Slack Plug-In?

Following up on the thread: Pulling in Sub Category Posts w/ Slack Plug-In?


I am unable to pull in sub-category posts with the slack plugin. The thread above suggests that we need to specify all sub-categories specifically in the chat-integration rules. However, I am unable to add sub-categories, and no sub-categories are on the list of available categories to be followed/watched.

Steps to produce this issue:

I attempt to add the sub-category via commands in the appropriate slack channel:

/discourse follow subcategory-name
and
/discourse follow category:subcategory-name

Example error text;

The category:sub-category category cannot be found. Available categories: {and a list of all top level categories appears, with no sub-categories}

I’m on discourse v2.4.0.beta2 +143


I am curious if others have this issue? If you can’t replicate this issue, I’m curious what commends you’ve successfully used in slack to add a sub-category.

저도 바로 같은 문제에 부딪혔습니다. 이 문제를 해결하기 위해 이 글을 찾게 되었고, 여러분과 함께 어려움을 공유하며 혹시 다른 분이 답변을 남겨주실까 하여 여기에 글을 올립니다.

참고로, 저는 어차피 최상위 카테고리에 구독하고 싶었는데, 이것도 작동하지 않았습니다. 제 설정은 다음과 같이 단순했습니다:

카테고리: Help
하위 카테고리: General Questions

"Help"에 구독한 후 “General Questions” 라벨이 붙은 주제를 만들면, 해당 주제에 “Help” 카테고리도 자동으로 추가되므로 정상적으로 작동할 것으로 기대했지만, 실제로는 작동하지 않았습니다.

단계들을 다시 확인해 보니 “Category Slug”(카테고리 슬러그)을 발견했습니다. 저는 "general-questions"를 사용했고, 실제로 그 값이 작동했습니다!

/discourse watch general-questions
규칙이 성공적으로 생성되었습니다

[Discourse] [오후 12:24]

이 채널의 규칙
(여러 규칙이 게시글에 일치하는 경우, 가장 위쪽 규칙이 실행됩니다)
1) help의 게시글을 watch(관찰)합니다
2) general-questions의 게시글을 watch(관찰)합니다