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
4,299,949
Community Members
 
Community Events
165
Community Groups

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 Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...

1,885 views 2 7
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