You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I cannot figure out why {{lookupissues.size}} returns 0 for me.
I have my rule set to manual trigger to test it and then have the following setup.
I know that if I run the JQL query on my ticket (substituting {{issue}} with the actual issue key ,I get 4 results
the log then shows 0 for my {{lookupissues.size}} value:
I am owner of the project and the rule is run using my account. I must be missing something obvious but not sure what
it was the scope. Opening the scope to the other projects that are involved fixed the issue
I think I might have found an explanation. my linked issues are in another project and i don't think that the lookup likes that
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The JQL that you are using is not returning any results and that is why {{lookupIssues.size}} is 0. {{issue}} is not returning the issue key, you need to use {{issue.key}} in order for it to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FYI...Often for smart values in an expression like this, I think it uses the default attribute when one is not specified; that would be key for an issue.
As the defaults are not documented anywhere, I agree with you that using {{issue.key}} explicitly is better to avoid uncertainty :^)
Kind regards,
Bill
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.