Como puedo crear una regla global, donde pueda comparar si el valor de un campo personalizado es igual, donde el campo se encuentra en dos proyectos diferentes.y esto realice una acción
Hola @Juan Sebastián Martin ,
¿Puede proporcionar más información sobre su escenario?
¿Cuál es la acción que activaría la regla?
Para comparar valores debe seleccionar problemas. ¿Cuál es el criterio para seleccionar los temas?
---
Hello,
Can you provide more information about your scenario?
What is the action that would trigger the rule?
To compare values you must select issues. What is the criteria for selecting issues?
Can a global rule be created by comparing a field in two projects? How can I create a global rule, where I can compare if the value of a custom field is equal, where the field is in two different projects.and this performs an action
Can a global rule be created by comparing a field in two projects?
How can I create a global rule, where I can compare if the value of a custom field is equal, where the field is in two different projects.and this performs an action
@Juan Sebastián Martin -
Just as mentioned by @Trudy P Claspill Please provide further clarification on your ask, so we can assist you further.
What do you mean by comparing fields values of issues between two projects? What is the triggering event will be used for triggering the automation rule?
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
.
Hello, thankiu @Trudy P Claspill @Joseph Chung Yin Currently I have two projects, one called Ticket where our clients create their requests, and the other project is called CustomerDatabase where I store our clients' information and where each client created and this project has an assigned agent who is responsible for that client.In the Customer project create a custom field called NIT which is a unique identifier for that customer.In the ticket project requests, add the NIT field to the forms so that when the client creates a solitude, they can enter their NIT.What I want to know is if there is some form or a global rule that is executed when a request is created by the client in the TICKET project and that I can perform a validation or a search in the Customer project with the NIT field,where you look for which client matches the NIT and you can assign the agent responsible for that client.
This is so that every time a ticket is created, it is assigned to the agent responsible for the client, where it is assigned in the client project.
-----------------
Hola,Actualmente tengo dos proyectos uno llamado Ticket donde nuestro clientes crean sus solicitudes, y el otro proyecto se llama CustomerDatabase donde almaceno la información de nuestros clientes y donde cada cliente creado e este proyecto tiene un agente asignado quien es el responsable de ese cliente.En el proyecto de Customer cree un campo personalizado llamado NIT que es el un identificador único para ese cliente.En las solicitudes del proyecto de ticket agregue el campo de NIT en los formularios para cuando el cliente cree una solitud el pueda ingresar su NIT.
Lo que deseo saber es si existe alguna forma o una regla global que se ejecute cuando se cree una solicitud por parte del cliente en el proyecto TICKET y que me pueda realizar una validación o una búsqueda en el proyecto de Customer con el campo NIT, donde busque cual cliente coincide con el NIT y que pueda asignarle el agente que tenga responsable en ese cliente.
Esto con el fin de que cada vez que se cree una solitud en ticket se le asigne al agente responsable del cliente , donde se le asigno en el proyecto de customer.--------
Sí, puedes crear una regla de automatización para eso.
Debería crear una regla en el área de Automatización global. Establecería el Alcance en Múltiples proyectos y, en el campo Proyectos, incluiría sus proyectos de Ticket y Cliente.
No mencionaste cuál es el nombre del campo en Cliente que contiene al agente, así que en mi ejemplo usé Agente. También supongo que Agente es un campo Selector de usuario.
Entonces la regla quedaría así.
DISPARADOR: Problema creado
CONDICIÓN: Condición de los campos del problema
Proyecto es igual a Boleto
ACCIÓN: Problemas de búsqueda
proyecto=Cliente y NIT={{issue.NIT}}
CONDICIÓN: Comparación avanzada
{{lookupIssues.size}} es igual a 1
ACCIÓN: Asignar problema
Valor inteligente {{lookupIssues.first.Agent.accoundId}}
Yes, you can create an automation rule for that.
You would need to create a rule in the Global Automation area. You would set the Scope to Multiple Projects, and in the Projects field include your Ticket and Customer projects.
You did not mention what the name of the field is in Customer that contains the agent, so in my example I used Agent. I am also assuming that Agent is a User Picker field.
Then the rule would look like this.
TRIGGER: Issue Created
CONDITION: Issue Fields Condition
Project equals Ticket
ACTION: Lookup Issues
project=Customer and NIT={{issue.NIT}}
CONDITION: Advanced Compare
{{lookupIssues.size}} equals 1
ACTION: Assign Issue
Smart Value {{lookupIssues.first.Agent.accoundId}}
Buen día,Al ejecutar la tarea me sale que no encuentra coincidencia en JQL . Lo escribí de esta manera project = "CUSTOMER DATABASE" AND NIT ~ issue.NIT ya que me realiza la busqueda sin novedad.
En la siguiente imagen se visualiza lo que se deseo automatizar Proyecto TICKET el cliente crea las solicitudes por este proyecto.Proyecto CUSTOMER DATABASE se almacena la información de cada cliente y se asigna un agente diferente dependiendo el cliente. Campo assigneCampo que se desea comparar "NIT" ambos proyectos cuentan con este campo personalizado.El cliente al crear una solicitud en TICKET se desea realizar la busqueda de coincidencia del campo NIT ticket con el campo NIT del proyecto CUSTOMER DATABASE, cuando encuentre la coincidencia del NIT en el proyecto de CUSTOMES DATABASE , se desea que se asigne el agente que se tiene asignado en ese cliente. Si en CUSTOMER DATABASE el NIT es "123456" y coincide el NIT con el del proyecto TICKET y esta asignado Juan entonces asignarle ese caso a Juan.
It looks like you're new here. Sign in or register to get started.