Hi,
I send email out to user promoting them for information, when a field value has changed. To do this I use a listener that triggers a workflow written with JMWE. This is a loop back workflow from in progress to in progress.
The message in the logs in confusing some user, as message in the logs say issue now in progress... This also fills up the DB.
Is there anyway to stop this workflow being logged?
Many Thanks
Kevin
Hi Kevin,
Since you are triggering the workflow transition from a listener, it's really in that listener that you might want to prevent the transition from being recorded in the issue history - this has nothing to do with JMWE.
If you are using the IssueService to trigger the transition, then you can use the
validateTransition(ApplicationUser user, Long issueId, int actionId, IssueInputParameters issueInputParameters, TransitionOptions transitionOptions)
method, passing a TransitionOptions that has the automaticTransition flag to true.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.