Since mattermost-plugin version 2.7.1 (where endpoint type was changed from String to Secret) it's not possible to set endpoint configuration for mattermostNotifier with a JobDSL script.
Follwoing JobDS script
causes follwoing error:
|Field||Original Value||New Value|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Resolution||Fixed [ 1 ]|
|Status||In Progress [ 3 ]||Resolved [ 5 ]|