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

Next challenges

Recent achievements


  • Give kudos
  • My kudos


  • 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

Transition JIRA issue after merge (bitbucket)

Hello Atlassian Community!,


I have a request from by boss to automatically transition JIRA issue after merge.

However the condition is that I must get the keyword #resolve or #notresolve and task number in the "Title" section when we Create Pull Request. That keyword indicate if the task should be transition into resolved or no transition.

So my question/help needed:

  1. How to use scriptrunner to get the "Title" value that we filled when Create Pull Request (details on what to import & etc. Maybe a complete script example )
  2. Which feature in scriptruner should I use.
    • A) Script Event Handlers > Custom event handler > Events = PullRequestMergedEvent. or
    • B) Script Merge Checks > Custom merge check.


Once above solution found, then at the end of the script I will do .execute() jira api or jira-cli to transition the task.


Appreciate for your helps.


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

Share your Confluence Cloud experience for a chance to win $500!

Take our 5-minute survey to win a $500 Visa gift card! Are you currently using Confluence Cloud? We want to hear from you! Fill out this quick survey about your Confluence Cloud experience so we ...

80 views 1 5
Read article

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