Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to know a version/ release already had assigned tickets?

Nguyễn Quang December 23, 2024

Hello Team,

 I have a rule that trigger by a version/ release is updated, before doing the expected actions I would like to know if that version/ release already had any assigned tickets, how could I do that? thanks!

1 answer

2 votes
Trudy Claspill
Community Champion
December 23, 2024

Hello @Nguyễn Quang 

You can use a Lookup Issues action to execute a JQL statement to retrieve any issues where the release version is used in the relevant Version type field. You can check the number of issues retrieved by accessing the smart value {{lookupIssues.size}}

Nguyễn Quang December 23, 2024

Hello @Trudy Claspill , thank for your quick response! seems I got your idea, could I refer to the title of an issue after lookupIssues action is done?

Trudy Claspill
Community Champion
December 23, 2024

The Lookup Issues action returns a list of issues contained in the {{lookupIssues}} smart value.

This page details the smart values you can use with list type smart values.

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/

When you figure out how to get to the specific issue you want in the list, then you can reference fields in an issue with additional smart values. Refer to

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/

If your action returns multiple issues in the list, which of those issues do you want to reference? What do you want to do with the issue Summary when you have it?

Like # people like this

Suggest an answer

Log in or Sign up to answer