• Sean McGivern's avatar
    Fix issue reopen Mattermost / Slack message · 5e7d68ef
    Sean McGivern authored
    When an issue is reopened, the action is 'reopen', but the state is 'opened' (as
    we don't have a separate 'reopened' state any more).
    
    Because we checked the action in one method and the state in another, this lead
    to a weird case where the mesage neither linked to the issue, nor contained an
    attachment with its details. Just checking the action is fine, as it's the most
    granular.
    5e7d68ef
issue_message.rb 1.54 KB