Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-12371

Provide automation conditions to allow removal of Request Participants

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • 25
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for JIRA Service Desk Cloud. Using JIRA Service Desk Server? See the corresponding suggestion.

      Use case is that, a customer sends an email with an agent CC'd on the message.

      What happens now

      • Agent gets added as a Request Participant, meaning they take on the customer role for ticket

      What should happen

      • Agent remains in agent role

      How can this be done

      • Automation is a good way to do this, but will require conditions to detect WHEN a Request Participant is added, and THEN allow participant to be removed from issue

      The final result, might be something like:

      • WHEN request participant added
      • IF User is an agent
      • THEN remove user from participants

            [JSDCLOUD-12371] Provide automation conditions to allow removal of Request Participants

            +1

            Hello everyone, I have a question:

            We are trying to remove from "Request Participants" an email address that does not have an identifier,

            {
            "fields": {
            "customfield_11128": [{
            "remove":

            { "email": "[example@emal.com|mailto:c-level@dev.pro]"}

            }
            ]
            }
            }

             

            But this condition works for the entire “Request Participants” field and deletes everyone.
            We wanted to delete only the address that is in the condition.
            Tell me if there are solutions to this using JSON?

            Vitalii Serdiuchenko added a comment - Hello everyone, I have a question: We are trying to remove from "Request Participants" an email address that does not have an identifier, { "fields": { "customfield_11128": [{ "remove": { "email": "[example@emal.com|mailto:c-level@dev.pro]"} } ] } }   But this condition works for the entire “Request Participants” field and deletes everyone. We wanted to delete only the address that is in the condition. Tell me if there are solutions to this using JSON?

            May Liu added a comment - - edited

            Hello all, just for your reference the workaround I am using now. We use Automation to auto remove users who we don't want them to be in Request Participants after they are added into Request Participants, but you need to add every user one by one in the Automation Rule.

            Trigger 

            Field value changed

            Fields to monitor for changes : Request Participants

            Change type : Any changes to the field value

            ------------------------------------------------------------

            Branch rule / related issues

            Issue fields condition

            Request Participant contains any of 

            Value = a user

            Then : Edit issue

            Additional Fileds (enter below)

            {
             "update": {
               "Request participants" : [ {
                 "remove":

            {        "id":"60xxxxxxxxxxxxxxx765"      }

               }],
             "customfield_10027" : [ {   
                "remove":

            {       "id":"60xxxxxxxxxxxxxxxx765"       }

                }
              ]
             }
            }

            ------------------------------------------------------------

            then do the same for another branch rule

            Branch rule / related issues

            ------------------------------------------------------------

            Note

            60xxxxxxxxxxxxxxx765  is user ID

            customfield_10027       is the custom field ID or Request Participant

            May Liu added a comment - - edited Hello all, just for your reference the workaround I am using now. We use Automation to auto remove users who we don't want them to be in Request Participants after they are added into Request Participants, but you need to add every user one by one in the Automation Rule. Trigger   Field value changed Fields to monitor for changes : Request Participants Change type : Any changes to the field value ------------------------------------------------------------ Branch rule / related issues Issue fields condition Request Participant contains any of  Value = a user Then : Edit issue Additional Fileds (enter below) {  "update": {    "Request participants" : [ {      "remove": {        "id":"60xxxxxxxxxxxxxxx765"      }    }],  "customfield_10027" : [ {        "remove": {       "id":"60xxxxxxxxxxxxxxxx765"       }     }   ]  } } ------------------------------------------------------------ then do the same for another branch rule Branch rule / related issues ------------------------------------------------------------ Note 60xxxxxxxxxxxxxxx765  is user ID customfield_10027       is the custom field ID or Request Participant

            Scott King added a comment -

            This would be a helpful feature because we have an email address that forwards to our Jira project's email, which causes the original email address to become a request participant, which is not wanted.

            Scott King added a comment - This would be a helpful feature because we have an email address that forwards to our Jira project's email, which causes the original email address to become a request participant, which is not wanted.

            John Diaz added a comment -

            +1

            Also in the same situation as Jeff. Any approach to keeping the group address from being added as a participant would be appreciated. 

            John Diaz added a comment - +1 Also in the same situation as Jeff. Any approach to keeping the group address from being added as a participant would be appreciated. 

            +1

            I am having the exact same situation as Jeff above.

            Byron Galietta added a comment - +1 I am having the exact same situation as Jeff above.

            JeffyG added a comment - - edited

            +1

            We are in similar boat. Our Email requests all come through an o365 group. The group is added as a participant. 
            We have it setup to send emails to all participants so that we can copy other people into the ticket easily so it is creating a loop for each notification that is sent out. 
            It would be great to have  rule to either remove the group automatically or not add it automatically all without adjusting who the customer cc'ed.

            JeffyG added a comment - - edited +1 We are in similar boat. Our Email requests all come through an o365 group. The group is added as a participant.  We have it setup to send emails to all participants so that we can copy other people into the ticket easily so it is creating a loop for each notification that is sent out.  It would be great to have  rule to either remove the group automatically or not add it automatically all without adjusting who the customer cc'ed.

            +1 to Luke's we have also similar issue with other ticketing email addresses.

            Antti Palosuo added a comment - +1 to Luke's we have also similar issue with other ticketing email addresses.

            +1

            +1 to Luke's situation being the same as ours.

            Bailey Spowart added a comment - +1 to Luke's situation being the same as ours.

              36bd3fea80e3 Makarand Gomashe
              mmcmahon Matthew McMahon (Inactive)
              Votes:
              179 Vote for this issue
              Watchers:
              103 Start watching this issue

                Created:
                Updated: