Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webhook slack message 전송시, 색상표현 #525

Closed
iowtis opened this issue May 31, 2019 · 4 comments
Closed

webhook slack message 전송시, 색상표현 #525

iowtis opened this issue May 31, 2019 · 4 comments
Assignees

Comments

@iowtis
Copy link

iowtis commented May 31, 2019

webhook으로 slack message 전송시, 기능을 색깔별로 표시하고 싶습니다.

예시
이슈등록 // 빨간색
댓글등록 // 노란색
이슈닫기 // 초록색

alert에 msg_color를 설정하는 부분이 있을것 같은데요.
제가 변경할수 있는 부분인지 알고 싶습니다.

@doortts
Copy link
Collaborator

doortts commented May 31, 2019

@hongwonjun 님이 도움을 주실수 있지 않을까 멘션해봅니다!

@hongwonjun
Copy link
Collaborator

@doortts 제가 이제야 확인해서 ㅠ 가능한 시간에 바로 대응해보겠습니다.

@hongwonjun hongwonjun self-assigned this Jul 9, 2019
@iowtis
Copy link
Author

iowtis commented Jul 9, 2019

@hongwonjun 확인 감사합니다

hongwonjun added a commit to hongwonjun/yona that referenced this issue Aug 9, 2019
@hongwonjun
Copy link
Collaborator

application.conf 에 아래와 같이 설정할 수 있도록 하였습니다.

# Slack Message Color
# ~~~~~~~~~~~~~~~~~
# use hex code (ex. #2EB886)
slack {
    NEW_ISSUE = ""
    ISSUE_STATE_CHANGED = ""
    ISSUE_ASSIGNEE_CHANGED = ""
    ISSUE_BODY_CHANGED = ""
    ISSUE_MOVED = ""
    ISSUE_MILESTONE_CHANGED = ""
    NEW_COMMENT = ""
    COMMENT_UPDATED = ""
    NEW_PULL_REQUEST = ""
    PULL_REQUEST_STATE_CHANGED = ""
    PULL_REQUEST_MERGED = ""
    PULL_REQUEST_COMMIT_CHANGED = ""
    PULL_REQUEST_REVIEW_STATE_CHANGED = ""
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants