cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can I use POST to pass ${DYNATRACE_INCIDENTS} parameter to a external rest api with Generic execution plugin?

ymaaa
Organizer

How can I post ${DYNATRACE_INCIDENTS} to external rest API through Generic execution plugin? ${DYNATRACE_INCIDENTS} is generate output in jason format. So it is designed for post result to 3rg party, right?


Thanks

YC


1 REPLY 1

It may be possible but this isn't really good idea in my opinion. Better approach would be using dedicated plugin for such case. Here is example how service now integration is made:

https://github.com/Dynatrace/Dynatrace-AppMon-ServiceNow-Action-Plugin/blob/master/src/com/dynatrace...

You can use it as starting point for designing your own plugin. You will have full control about payload structure for your system. I suggest looking at dynatrace repository, or community page:

https://community.dynatrace.com/community/display/DL/FastPacks+and+Plugins

here is large number of ready to use plugins.

Sebastian