You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 27, 2024. It is now read-only.
Mattermost has data_source field which can be users and channels. We can add one more option which is script. If script is defined at data_source field. OpsTool can execute script to populate options. Script requirements:
Opstool need to pass all environment variables to the script and arguments if defined.
Script should return json array of options.
Sample Json Output
[
{
"text": "Option Text",
"value" "Option Value 1"
},
{
"text": "Option Text 2",
"value" "Option Value 2"
}
]
Mattermost has
data_sourcefield which can beusersandchannels. We can add one more option which isscript. If script is defined atdata_sourcefield. OpsTool can execute script to populate options. Script requirements:Sample Json Output