This is an example project for building a MyWork plugin.

To run this example:

    mvn -DskipTests install
    mvn -DskipTests amps:debug

There is a basic REST endpoint for creating notifications/tasks, which can be executed with:

    curl -i --user admin:admin -X POST http://localhost:1990/confluence/rest/mywork-example/1/notification
    curl -i --user admin:admin -X POST http://localhost:1990/confluence/rest/mywork-example/1/task

To test that the 'increment' inline action worked the current count can be retrieved as well:

    curl -i --user admin:admin -X GET http://localhost:1990/confluence/rest/mywork-example/1/count