altsol / redmine_mattermost

Mattermost notification plugin for Redmine
Other
66 stars 97 forks source link

Mattermost moving to API version 4 #19

Closed jasonblais closed 7 years ago

jasonblais commented 7 years ago

Hey @thanosk !

First, hugely appreciate you sharing this project back with the world. Fantastic work!

I wanted to let you know about our plans moving to API v4:

To make the Mattermost API web service easier to use and to offer more powerful options for these integrations, Mattermost will be moving to a new API version soon. Highlights include:

We plan to release API version 4 on March 16th, with Mattermost server 3.7. While the current API version 3 will be supported until September 16th, we recommend you begin using API version 4 soon after its release.

Contributing

API version 4 is an active and on-going project. If you're interested in helping contribute, please join our Mattermost community instance and the APIv4 channel.

We've prepared a contribution process for APIv4 and a progress tracker for new APIv4 enpoints to help you get started.

We're also open for suggestions on adding new API endpoints to help with your integration.

zx1986 commented 7 years ago

How to check this error:

[2017/08/26 14:25:58 CST] [EROR] /api/v3/teams/zeztzo6jjbdaidtgc1kpfju7xh/channels/djpjet9fo3nhzbcp7afq56deih/posts/create:
Post.IsValid code=500 
rid=to4gf3d617r5jchd6obepocgxw 
uid=1hgprtbhj7fwby6egt1rbafaby 
ip=1.2.3.4 
Invalid message [details: id=9e7s35179jd4myct98o8g6qk4o]
jasonblais commented 7 years ago

@zx1986 Does it come from using this integration?

zx1986 commented 7 years ago

@jasonblais yes, and I had change to use redmine_messenger.

jasonblais commented 7 years ago

Thanks @zx1986, I see.

Do you know when the error occurs? That'll help us narrow down the potential cause.

zx1986 commented 7 years ago

@jasonblais I can't reproduce it on our server now, Redmine with the new plugin had move to production.

thanosk commented 7 years ago

@zx1986 you would need to provide more debug info in order to trace down your problem.

Other than that, I just tested this plugin with APIv4 and latest mattermost version and it works just fine, so I'm closing this issue until further notice.