Hi,
I created an automation that created a value in a short text field.
The trigger for automation is starting a new sprint (trigger = start sprint). I would like the value that enters the text field to be the name of the sprint that created the trigger.
If I use a smart value of type: {{sprint.name}} the field returns me all the sprints that exist in the "sprint" field, including those that are already closed.
Is there a smart value that returns me only the name of the trigger sprint or at least only the name of the open sprint?
Can you provide a screenshot of your result? And the rule itself?
I replicated this rule like this:
^ I tested this with Issues that had been in a previous Sprint, and were in the new Sprint being started - and the rule was successful, entering only the new Sprint's name into the Description field, no old Sprint names.
So it works for me, as you need it to!
Ste
You're right.
Now, I want to run automation even without a sprint trigger (scheduled trigger).
Do you have any idea how I find active sprint smart value?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you're not using a Sprint Trigger, I don't believe it's possible to locate the active Sprint via smart values.
There is a feature request for it though - check out AUT-648
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After a lot of searches, I found the answer on:
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome! Thanks for sharing the link back in this question, it might help others in future!
---
Just for future visibility (for anyone else who finds this question), I tested a few of the options in the linked question above, and another question which was linked to from there.
I found both of these smart values seemed to work:
{{#issue.sprint}}{{#if(not(isClosed))}}{{name}}{{/}}{{/}}
{{issue.sprint.last.name}}
If neither of these work for you, there are a few other options in those linked questions you can try :)
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
{{sprint.name}} returns only the sprint that started and which triggered this automation event. I've tested it on my instance and it yielded only 1 sprint (out of 3 that are ongoing)
Please share more details and screenshots in order to be able to help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OMG You're right. What I didn't notice, is that I entered the value: {{issue.sprint.name}}
Only one word but It changes the whole picture.
Thank you very much!
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.