Ayuda con optimizaci?n de Automatozaci?n en Jira Software.
Asked by Keila Rivas:

Hola a Todos.  

Tengo una automatozaci?n en jira software, para qie cuando una historia (child) cambie el estatus a IN PROGRESS, la epica (parent) a IN PROGRESS tambien.  

La automatizaci?n funciona solo cuando la ?ltima historia de la ?pica, se actualiza a IN PROGRESS, es decir, si la Epica tiene 3 historias, se cambia el estado de la Epica a IN PROGRESS cuando ?sta tercera y ?ltima historia se activa a IN PROGRESS.  

Necesito que la Epica se actualice a IN PROGRESS cuando cualquier Historia de la Epica se activa, tenga una o varias historias.  

Anexo jpg de la Automatizaci?n.  
Agradecida por sus recomendaciones. ![automatizacion epicas.PNG](/t5/image/serverpage/image-id/330474i20B26459951DD5DF/image-size/large?v=v2&px=999 "automatizacion epicas.PNG")  

<br />

<br />


Answers:
author: Trudy Claspill
body: Hola [@Keila Rivas](/t5/user/viewprofilepage/user-id/2724508) ,

Elimine el paso marcado con un c?rculo en la imagen. Ese paso le dice a la regla que todos los problemas secundarios deben tener un estado de "En progreso" para que el Epic principal se cambie a "En progreso".

![Screenshot 2024-06-18 at 2.07.28?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/330477i19AA51728685F3B7/image-dimensions/276x348?v=v2 "Screenshot 2024-06-18 at 2.07.28?PM.png")

---

Hello,

Remove the step circled in the image. That step is telling the rule that all the child issues must have a status of "In Progress" in order for the parent Epic to be changed to "In Progress".
> Help with Automation optimization in Jira Software.
>
> Hello everyone.
>
> I have an automation in Jira software, so that when a story (child) changes the status to IN PROGRESS, the epic (parent) changes to IN PROGRESS as well.
>
> The automation works only when the last story of the epic is updated to IN PROGRESS, that is, if the Epic has 3 stories, the status of the Epic is changed to IN PROGRESS when this third and last story is activated to IN PROGRESS.
>
> I need the Epic to update to IN PROGRESS when any Story in the Epic is activated, whether it has one or more stories.
>
> jpg annex of Automation.
>
> Grateful for your recommendations.

comments: author: Keila Rivas
body: Thanks a lot Trudy  

**It's Work!**   

<br />

<br />

<br />


author: Keila Rivas
body: Please,   
I just only know have a little question, how can I run this automatization for all the epics no matter if they are new or old?


author: Trudy Claspill
body: Hello,

As long as the parent Epic is not in the In Progress status, and there is a valid transition available from its current status to the "In Progress" status, then the rule should work.

Note that the execution of the rule is when a child issue is transitioned from To Do to In Progress. The rule is not triggered by any event that happens directly in the Epic.

I'm not sure that I have addressed your question. If you think I have not, please provide more information about what you would want to happen with "old" versus "new" Epics.


author: Keila Rivas
body: Hi Trudy, Thanks Again!  

I understand how the rule works.  
I have epics prior to this automation, where the stories are "in progress" but the epic as such, is in "to do".

I think, I'm going to have to identify and update the epics prior to this automation, with a query.  

If you have another idea, let me know.

Regards


Tags: cloud

jira-cloud