integration with slack
Added by kyoungmin lee almost 9 years ago
Hello,
I want to use redmine with slack, so I installed the plugin.
A noti is well reached at slack, but the link of noti has wrong address.
for example a.b.com:8080 is right address but the link of noti has address without port number, a.b.com.
So please help me to solve this problem.
When I requested to a help to slack, I heard that this is not official integration, so this is solved by plugin.
Replies (11)
RE: integration with slack - Added by John Paul Dominikkam almost 9 years ago
Hi ,
Once installed the plugin in redmine
Steps:
-------
1.Login slack
2.Goto services and click incoming-webhook
3.Select the channel which created in slack click add incoming webhooks integration
4.Generated API link get the link and configuring in redmine
5.create customfield for slackchannel and enable in projects
Its work fine
Regards,
John
RE: integration with slack - Added by kyoungmin lee almost 9 years ago
Thank you for you reply.
Can you tell me about number 5?
I don't know how to set the custom field for the slack channel
RE: integration with slack - Added by John Paul Dominikkam almost 9 years ago
Hi ,
Please goto Administration new click custom fields create issue object create text customfields and assigned to projects
Regards
John
RE: integration with slack - Added by kyoungmin lee almost 9 years ago
Hm...
Integration with slack is well finished.
But when I click the link of notification reached, it is redirected to the redmine address without port number.
RE: integration with slack - Added by John Paul Dominikkam almost 9 years ago
sorry i can't get your question?
RE: integration with slack - Added by kyoungmin lee almost 9 years ago
for example,
1. I create an issue.
2. slack channel receive a notification
3. I click the notification
4. internet explorer redirect to "http://118.216.119.138/redmine/issues/38" and 404 error page show
# when I click the notification, internet explorer should be redirected to "http://118.216.119.138:8080/redmine/issues/38"¶
RE: integration with slack - Added by John Paul Dominikkam almost 9 years ago
If receive the notification in slack channel it should work , i don't know where u missed please check one more to your configurations
RE: integration with slack - Added by kyoungmin lee almost 9 years ago
It resolved.
I changed the listener.rb'
def object_url(obj) Rails.application.routes.url_for(obj.event_url({:host => Setting.host_name, :protocol => Setting.protocol})) end
def object_url(obj) Rails.application.routes.url_for(obj.event_url({:host => Setting.host_name, :port => '8080', :protocol => Setting.protocol})) end
RE: integration with slack - Added by Dev Full stack almost 8 years ago
https://confluence.jetbrains.com/display/YTD65/Slack+Integration#SlackIntegration-CreateaSlackAccountfortheJabberBot
With youtrack we can use @user_name for push-notify in slack. Can we do the same in Redmine?
RE: integration with slack - Added by Matthew Paul almost 6 years ago
FYI I just wrote a plugin which allows you to open slack directly from the issue watchers if you are interested in looking at that https://www.redmine.org/plugins/redmine_im_link