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!
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}}
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.