Forums

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

How can I detect if an issue has an active sprint in automation?

Albert Cantero November 16, 2022

So I'm trying to build an automation that among other conditions needs to look if the issue is an active sprint.

I tried the following:

Captura de pantalla 2022-11-16 191353.png

But if the issue has been in older closed sprints, the empty field will not trigger correctly. Is there any way I can ensure this condition?

1 answer

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Champion
November 16, 2022

Hello @Albert Cantero 

You could use a Lookup Issues action, and then check the number of results (size).

Screen Shot 2022-11-16 at 10.21.39 AM.png

If the "size" of the result set is 0 then the issue is not in an Active Sprint.

Albert Cantero November 17, 2022

Thanks Trudy that works!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events