Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can you disable notification for transitioning issue via REST?

For editing an issue, there is a parameter for named "notifyUsers" that you can set to false to disable notifications for that edit.  I am wondering if there is a similar option for transitioning issues, for example POST /rest/api/2/issue/{issueIdOrKey}/transitions?notifyUsers=false

1 answer

1 accepted

1 vote
Answer accepted

Looking at the structure of the request, I would say no. 

https://docs.atlassian.com/software/jira/docs/api/REST/7.12.0/?_ga=2.259276106.1759737369.1548184642-1685856880.1527088269#api/2/issue-editIssue

The edit issue end point specifically lists "NotifyUsers" as a parameter that can be passed along. The "Do Transition" end point has no such property listed.

Kian,

Thanks for your input!  I thought as much, but just wanted to ask and see what others thought.  I'm thinking I'll just create a small plugin to add a new REST resource for me to call.  

Hi Andrew - did you ever solve a way to do this? 

I'm looking to transition issues using the REST API but without notifying users. 

Thanks, 
Kevin 

Unfortunately no.  I just ended up writing a plugin that does the following:

validationResult.getAdditionInputs().put("sendBulkNotification", false);

IssueResult transitionResult = issueService.transition(applicationUser, validationResult);

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you