klinux Posted June 26, 2017 Share Posted June 26, 2017 I'm trying to update a job definition, more precisaly on the mail notification, api don't report any errors, but the parameters aren't updated.Here is the payload that I'm using, the node of json mailNotification, nothing is updated, but in the alert, some fields are updated:{ "description": "This description updated in bulk", "mailNotification": { "toAddresses": { "address": [ "user@gmail.com" ] }, "ccAddresses": { "address": ["user2@gmail.com"] }, "subject": "Test, Test", "messageText": "Test" }, "alert": { "toAddresses": { "address": [ "user3@gmail.com" ] }, "messageText": "Log de Status: Sucess", "messageTextWhenJobFails": "Log de Status: Failed", "includingStackTraceWhenJobFails": true, "skipNotificationWhenJobFails": true, "subject": "Test Test" }}There are some mistake in this payload? Or this is a bug in the api /jasperserver/rest_v2/jobs?id=253?Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now