how do I create a Jira automation:
when I assign sprint to a user story
I want the target and end date to be updated automatically
what is the appropriate automation step-by-step
Hi @Regina , welcome to the community.
there are different ways to accomplish this, but I will provide what I think would be the best approach. Basically what you would want is a rule that would run when the sprint is started and then for all issues in the active sprint, the dates would be updated. This one sure that you don't set dates before you commit to sprint and as well the sprint dates are not locked down until you start the sprint.
so the rule would basically look like this:
hair is an example that should get you started. Note that the two date fields that I am setting are likely not the ones you want to set but the ones that I had available to me in my test project.
let me know if you have any questions. I will try to get back to it when I can.
Hi @Regina -- Welcome to the Atlassian Community!
Adding to Jack's answer...
An adjustment to the suggested rule is to specifically use the Sprint which started the trigger, rather than values from the issues:
If issues have carried over from prior sprints, using {{issue.sprint.startDate}} will produce a list of dates rather than one value.
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.
Good catch @Bill Sheboy !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Regina
Just checking if this answered your question. If so, please mark this one as "answered" to help others find solutions faster. If not, provide any additional information to help the community offer suggestions.
Thanks!
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.