Hi,
I want to make an automation that edits the linked issue to done if and only if all the issues linked by the "requires" relation are done
So, in automation, I made a lookupissue with this query
issue in linkedIssues("{{parentBundle}}", requires) ans status != done
then, i try to analyse the smartvalue.
I tests with
{{lookupObjects.isEmpty}} = true
{{lookupObjects.size}} = null,
{{lookupObjects.size}} = 0...
but nothing works
Is it possible to make an action only if the lookup issue does not return any results?
Hello @Mélanie Liguet
To check the count of issues returned by a Lookup Issues action you need to use the smart value
{{lookupIssues.size}}
However, it is not clear to me that you have a valid JQL for the Lookup Issues action within the branch. Can you share the details of the For Each Smart Value step. And what is the purpose/use for the Variable you are creating named parentBundleKey?
Hi,
This isn't easy to explain.
I have cards at the subtask level, but they are linked by "requires" links in one direction and "is reqired by" links in the other. This allows me to simulate an additional hierarchical level.
If a card is set to done, I check if it has an "is required by" link to find the subtask to which it is attached. This is the issue key that I store in the "parentbundlekey" variable.
Then I use this variable to analyze all the cards linked by the "requires" link.
If all the attached cards are done, then I must set "parentbundlekey" to done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you change the comparison for the lookup issues result as I recommended does your rule work as you intend?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your help.
I felt like I was close. It works.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm glad I could help!
If your problem has been resolved with the help of my responses, please consider clicking on the Accept Answer button above my response to mark your Question as Solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.