• Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Automation
    • 10
    • 3
    • We collect Jira Service Desk feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

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

      OnDemand version!

      It would be very helpful to be able to use the ticket information within comments. Thous in automation we could refer to the persons name or build up a link, etc.

      Example:

      Hello ${reporter.displayName},
      
      Please click http://foobar/resolve?${issue.id} to resolve the issue.
      

      This would be a simple text replacement and no scripting would be required hence security is still given.

          Form Name

            [JSDSERVER-3967] Allow ticket variables in comments for Automation

            Arturo Sanz added a comment - - edited

            FYI: we solved it adding in the comment the link provided in the email.

            For approving:

            [*Approve|https://$URL/servicedesk/customer/user/approval-action/$IssueKey/$approval_ID_of_the_issue/approve/analytics?sda_source=notification-email]

             

            For declining:

            [*Decline|https://$URL/servicedesk/customer/user/approval-action/$IssueKey/ $approval_ID_of_the_issue /reject/analytics?sda_source=notification-email]

             

            $approval_ID_of_the_issue  is a a value to be found in the pre-defined customfield named "Approval" that is not Null when the issue is waiting for approval (or if it has been approved/declined already)

            See: https://community.atlassian.com/t5/Jira-discussions/Looking-for-variable-in-a-Service-Desk-approval-URL-for-Groovy/td-p/1163859#M10286

             

            Arturo Sanz added a comment - - edited FYI: we solved it adding in the comment the link provided in the email. For approving: [*Approve| https://$URL/servicedesk/customer/user/approval-action/$IssueKey/$approval_ID_of_the_issue/approve/analytics?sda_source=notification-email ]   For declining: [*Decline| https://$URL/servicedesk/customer/user/approval-action/$IssueKey/ $approval_ID_of_the_issue /reject/analytics?sda_source=notification-email ]   $approval_ID_of_the_issue   is a a value to be found in the pre-defined customfield named "Approval" that is not Null when the issue is waiting for approval (or if it has been approved/declined already) See:  https://community.atlassian.com/t5/Jira-discussions/Looking-for-variable-in-a-Service-Desk-approval-URL-for-Groovy/td-p/1163859#M10286  

            Same here.

            We add several users in the "approvers" field, but want to notify via email just some of them.

            So we deactivate the automated notifications for approvers and intend to solve it mentioning certain users in a comment, which will get an email notification.

            But we would like to add the "approval buttons" in the comment (like the automated notifications does via email).

             

            Is this possible?

            I think that we need the feature requested through this issue, but maybe there is another option. 

             

            Arturo Sanz added a comment - Same here. We add several users in the "approvers" field, but want to notify via email just some of them. So we deactivate the automated notifications for approvers and intend to solve it mentioning certain users in a comment, which will get an email notification. But we would like to add the "approval buttons" in the comment (like the automated notifications does via email).   Is this possible? I think that we need the feature requested through this issue, but maybe there is another option.   

            I am trying to use Automation to send a web request to a google chat webhook, and without variables to describe the tickets, it is useless.

            Fontana Fluke added a comment - I am trying to use Automation to send a web request to a google chat webhook, and without variables to describe the tickets, it is useless.

              Unassigned Unassigned
              b38b04ea2bbd Enrico Stahn
              Votes:
              90 Vote for this issue
              Watchers:
              29 Start watching this issue

                Created:
                Updated: