Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Script to pull items with PR merged to specific branch

I need to pull items that have merged PRs to specific branches.

For example, I need to pull items when PR is merged to develop regardless of a PR being opened to master or not.

The following get me the items when ALL PR are merged which is not what I need.

development[pullrequests].merged > 0 AND development[pullrequests].open = 0


Is there a script I could use to create a custom field that could pull this informationt. Custom field that look like:

pullRequestMerged in ("master")

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,798 views 37 48
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