Resgistro de casos cerrados automaticamente

Fredy Alexander Pena February 27, 2023

Buen día,

Cuento con una automatización de cierre de incidencias sin gestión por parte de los usuarios, pero en los log de la automatización no me permite ver la cantidad total de los cuales se ejecuto la regla.

Es posible agregar alguna campo para que llegue por correo o slack el listado total de los casos que fueron cerrados.

Adjunto configuración Actual:

Automatizacion_Cierre.png

Quedo atento gracias

2 answers

0 votes
Fredy Alexander Pena February 27, 2023

Buen día,

Si cuento con una búsqueda JQL:


updatedDate <= -1w and status in("PENDING FOR TEST","User Testing","User Validation","USER TESTING")

Agradecería me apoyaras con el ultimo paso, de configuración para el envió de correo, con las incidencias afectadas, ya que no tengo una automatizcion  base de configuracion.

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 27, 2023

Hola @Fredy Alexander Pena 

¿Está incluyendo una declaración JQL en su activación programada?

Si, en cambio, ejecuta ese JQL con la acción Buscar problemas, podría iterar a través de la lista de resultados para ejecutar los pasos que ya tiene y luego tener una acción separada al final para enviar un correo electrónico con una lista de todos los problemas.

---

Hello

Are you including a JQL statement in your Scheduled Trigger?

If you instead run that JQL with the Lookup Issues action, you could iterate through the results list to execute the steps you already have, and then have a separate action at the end to send one email with a list of all the issues.

Record of cases closed automatically

I have an automation for closing incidents without management by the users, but in the automation logs it does not allow me to see the total number of which the rule was executed.

It is possible to add a field so that the total list of cases that were closed arrives by mail or slack.

Attached Current configuration:

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 27, 2023

Utilizaría una acción Enviar correo electrónico con este contenido para enviar un mensaje con la lista de problemas incluidos en la acción Buscar problemas. Puede agregar texto adicional fuera de las variables {{ }}.

{{#lookupIssues}}
{{key}}
{{/}}

---

You would use a Send Email action with this content, to send a message with the list of issues included in the Lookup Issues action. You can add additional text outside of the {{ }} variables.

{{#lookupIssues}}
{{key}}
{{/}}

Good day,

If I have a JQL search:


updatedDate <= -1w and status in("PENDING FOR TEST","User Testing","User Validation","USER TESTING")

I would appreciate it if you could help me with the last step, the configuration for sending mail, with the affected incidents, since I do not have a basic configuration automation.

Fredy Alexander Pena February 28, 2023

Buen día,

realice el ajuste de la automatización:

Correo.png llega el correo pero en blanco:

Jira.png

Estare haciendo algo mal?

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 28, 2023

Muestre el uso de toda la regla de automatización nuevamente ya que ha realizado cambios en ella.

---

Please show use the entire Automation Rule again since you have made changes to it.

perform automation adjustment

the mail arrives but blank:

Am I doing something wrong?

Fredy Alexander Pena February 28, 2023

Jira.png

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 28, 2023

Esas imágene no muestran todos los pasos de la regla. Necesito ver todos los pasos por favor. Adjunte varias imágenes si es necesario.

---

That image does not show all the steps in the rule. I need to see all the steps please. Attach multiple images if necessary.

Fredy Alexander Pena February 28, 2023

Hola te comparto varias captura de la automatización

1.PNG.png2.png3.png4.png5.png

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 28, 2023

Gracias por esa información adicional.

El correo electrónico está en blanco porque no ha incluido una Acción de búsqueda de problemas, como recomendé en mi primera respuesta.

Si, en cambio, ejecuta ese JQL con la acción Buscar problemas, podría iterar a través de la lista de resultados para ejecutar los pasos que ya tiene y luego tener una acción separada al final para enviar un correo electrónico con una lista de todos los problemas.

Debe eliminar la instrucción JQL del desencadenador programado.

Luego debe agregar la acción Buscar problemas inmediatamente después del Activador de programación y colocar la instrucción JQL en esa acción.

Deberá cambiar la forma en que ejecuta las declaraciones de comparación.

La nueva estructura de reglas se vería así:

Screen Shot 2023-02-28 at 1.24.33 PM.png

 

Screen Shot 2023-02-28 at 1.24.57 PM.png

 

 

Screen Shot 2023-02-28 at 1.25.16 PM.png

 

---

Thank you for that additional information.

The email is blank because you have not included a Lookup Issues Action, as I recommended in my first response.

If you instead run that JQL with the Lookup Issues action, you could iterate through the results list to execute the steps you already have, and then have a separate action at the end to send one email with a list of all the issues.

You need to remove the JQL statement from the Scheduled Trigger.

You need to then add the Lookup Issues action immediately after the Schedule Trigger, and put the JQL statement in that action.

You will need to change how you execute the comparison statements. 

The new rule structure would look something like this:

<images>

Hello, I share several captures of automation

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events