Crear un automatismo para los campos Estimaci?n Original y Estimaci?n Restante
Asked by Sandra Perez:

Necesitamos crear un automatismo para que los campos Remaining Time y Estimated Time se autorellenen con la siguiente l?gica en el mismo proyecto:  
1 SP = 6 hrs  
2 SP = 8 hrs  
3 SP = 12 hrs  
5 SP = 15 hrs  
8 SP = 20 hrs  
13 SP = 25 hrs  
21 SP = 35 hrs  

De manera que los campos estimated y reimaining time se rellenen con la equivalencia en horas del campo SP.


Answers:
author: Luis Felipe Studzinski Santos
body: [@Sandra Perez](/t5/user/viewprofilepage/user-id/5531453)

Hello,  
locate the IF ELSE conditional so you can implement the IF and in the first option and the others in the ELSE.

![Screenshot_5.png](https://community.atlassian.com/t5/image/serverpage/image-id/334285iDCF7F2433BC61595/image-size/large?v=v2&px=999 "Screenshot_5.png")![Screenshot_4.png](https://community.atlassian.com/t5/image/serverpage/image-id/334287i0B114263C65E6C7C/image-size/large?v=v2&px=999 "Screenshot_4.png")![Screenshot_3.png](https://community.atlassian.com/t5/image/serverpage/image-id/334286iE4B33353C1CEE9DE/image-size/large?v=v2&px=999 "Screenshot_3.png")

comments: author: Sandra Perez
body: Solucionado


author: Sandra Perez
body: Gracias, me funciona!


author: Luis Felipe Studzinski Santos
body: [@Sandra Perez](/t5/user/viewprofilepage/user-id/5531453)

Hello,  
locate the IF ELSE conditional so you can implement the IF and in the first option and the others in the ELSE.

![Screenshot_4.png](https://community.atlassian.com/t5/image/serverpage/image-id/334282iB80F043581286572/image-size/large?v=v2&px=999 "Screenshot_4.png")


author: Luis Felipe Studzinski Santos
body: [@Sandra Perez](/t5/user/viewprofilepage/user-id/5531453)

Hello,

Use the automation with "Create lookup table!", below is the automation that I reproduced in my instance.![Screenshot_1.png](https://community.atlassian.com/t5/image/serverpage/image-id/333517i60A8AE91C30A7292/image-size/large?v=v2&px=999 "Screenshot_1.png")![Screenshot_2.png](https://community.atlassian.com/t5/image/serverpage/image-id/333518i04217AF172F30753/image-size/large?v=v2&px=999 "Screenshot_2.png")![Screenshot_3.png](https://community.atlassian.com/t5/image/serverpage/image-id/333519i87DD930C25E01AA2/image-size/large?v=v2&px=999 "Screenshot_3.png")

comments: author: Sandra Perez
body: En que parte de jira se configura esto? En la parte de automation, cuando creo la regla no me sale esa opci?n...  
![RuleAutomation1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/333665i96C72DD7B96F5E93/image-size/large?v=v2&px=999 "RuleAutomation1.PNG")


author: Luis Felipe Studzinski Santos
body: Yes, in automation. After triggering, select Add on Action.

![Screenshot_2.png](https://community.atlassian.com/t5/image/serverpage/image-id/333711i9B1506F34C7BC0E8/image-size/large?v=v2&px=999 "Screenshot_2.png")![Screenshot_1.png](https://community.atlassian.com/t5/image/serverpage/image-id/333712iDA912ADBBCA53CEF/image-size/large?v=v2&px=999 "Screenshot_1.png")


author: Sandra Perez
body: Mi versi?n de jira es m?s antigua y la funci?n "Create lookup table" no est? disponible, por lo que no puedo configurarlo de esa manera, necesito otra soluci?n.


author: Sandra Perez
body: Lo ?nico parecido que veo entre las opciones que hay en 'Nueva accion' es la de crear variable:  

![RuleAutomation2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/333939i948CAEC2ADD94BA4/image-size/large?v=v2&px=999 "RuleAutomation2.PNG")  

No s? si con esta opci?n se puede configurar, de ser as? cual ser?a el procedimiento?  

Gracias.


author: Luis Felipe Studzinski Santos
body: [@Sandra Perez](/t5/user/viewprofilepage/user-id/5531453)

Hello,  
You can use the IF ELSE conditional as in the example.  
I hope this solution helps.

I built it for the first two values, just add more levels.

![Screenshot_1.png](https://community.atlassian.com/t5/image/serverpage/image-id/334146i8396372ED07C2E80/image-size/large?v=v2&px=999 "Screenshot_1.png")


author: Luis Felipe Studzinski Santos
body: ![Screenshot_2.png](https://community.atlassian.com/t5/image/serverpage/image-id/334148iE6333430BB5959DB/image-size/large?v=v2&px=999 "Screenshot_2.png")


author: Sandra Perez
body: Con esta opc?on si funciona


author: Sandra Perez
body: Gracias!


author: Luis Felipe Studzinski Santos
body: [@Sandra Perez](/t5/user/viewprofilepage/user-id/5531453) What great news. Could you accept the answer?


Tags: cloud

jira-cloud