Issue Button Widget
Widget Type: rc-issue-button
When clicked, this widget will create a new issue in the associated DroneDeploy project.
Configuration
latitude A source which provides the latitude of the issue
longitude A source which provides the longitude of the issue
sourceType Can be either telemetry or service
source The URI which provides the source data
expression An optional string containing a javascript function where args is the source output and returns the final value.
payload For service sources, an optional payload to send with the request
Example
{
"latitude": {
"sourceType": "telemetry",
"source": "/ros/robot/gps/fix?int=1s",
"expression": "(args) => args.payload.latitude"
},
"longitude": {
"sourceType": "telemetry",
"source": "/ros/robot/gps/fix?int=1s",
"expression": "(args) => args.payload.longitude"
}
}