I'm using the Jira Rest Java Client to update the value of a custom field. I'd like the update of the issue to be silent; i.e. it should not trigger a notification.
There is a query parameter to do this (notifyUsers), however, I can't figure out how to use this parameter in jira-rest-java-client-core version 5.0.4.
My kotlin code is similar to the below
val issueInput = IssueInputBuilder()
OK, I found working solution. Simply add '?notifyUsers=false' to the end of the URI for createWithBasicHttpAuthentication() method. Here is a short example:
URI serverURI = URI.create("https://<YOUR_JIA_URL>/?notifyUsers=false");
this.restClient = new AsynchronousJiraRestClientFactory().createWithBasicHttpAuthentication(serverURI, "username", "password");
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events