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

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

Access "Development" field contents

I'm looking to determine whether any open PR's exist on an issue.  I can get to {{iissue.Development}} but is there an easy way to extract the equivalent of this JQL "Development [pullrequests].open > 0"

1 answer

0 votes
Kevin Bui Atlassian Team Aug 16, 2020

Hi @Chris Melville, could you please provide more information on what you're trying to do?

I'm not sure if this answers your question, but using the Lookup issues action you can enter your JQL query, and then have your automation rule perform actions on those issues (e.g.: Comment on each issue where Development [pullrequests].open > 0).

You can learn more about Lookup issues at our Actions documentation.

Hope that helps - Please feel free to respond if this doesn't answer your question.

Thank you @Kevin Bui but I cannot find the "Lookup Issues" action.  I am using JIRA server 8.5.1 with the latest version of Automation for Jira.  Is this a case of lagging support for server installations or do I just need to upgrade?

To actually answer your question... what I want to do is locate any issues with open PR's and transition them back to "in review" status.  I have automatic triggers set up to transition on PR merge, but if there are multiple PR's open for an issue I need to either prevent the transition until all PR's are merged (best), or look for issues that need to go back to review status as long as there is at least one open PR.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Automation

New to Jira Automation - goodbye Cron (sort of), hello new project created trigger, new additions to

Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding&nbsp...

2,807 views 10 23
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