• 138
    • 7
    • 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.

      It is not possible to search the customer comment using JQL.

          Form Name

            [JSDSERVER-4317] Make Satisfaction comment searchable via JQL

            For anyone interested in reading and/or updating this information through the JAVA API, here is a POC:

             

            import com.atlassian.jira.bc.issue.properties.IssuePropertyService
            import com.atlassian.jira.component.ComponentAccessor
            import com.atlassian.jira.entity.property.EntityPropertyService
            import com.atlassian.jira.issue.Issue
            import com.atlassian.jira.issue.IssueManager
            import com.atlassian.jira.security.JiraAuthenticationContext
            import com.atlassian.jira.user.ApplicationUser
            import org.apache.log4j.Level
            import org.apache.log4j.Logger
            
            Logger log = Logger.getLogger("Cleanup")
            log.setLevel(Level.ALL)
            
            
            String issueKey = "ISSUE-1234"
            
            IssueManager issueManager = ComponentAccessor.getIssueManager()
            Issue issue = issueManager.getIssueByCurrentKey(issueKey)
            
            
            IssuePropertyService entityPropertyService = ComponentAccessor.getComponentOfType(IssuePropertyService)
            
            JiraAuthenticationContext jiraAuthenticationContext = ComponentAccessor.getJiraAuthenticationContext()
            
            
            EntityPropertyService.PropertyResult result = entityPropertyService.getProperty(jiraAuthenticationContext.loggedInUser as ApplicationUser, issue.id, "service-request-feedback-comment")
            
            
            String originalValue = result.entityProperty.first().value
            
            log.info(originalValue) //Returns a JSON string: {"comment":"THE FEEDBACK COMMENT GOES HERE"}
            
            
            EntityPropertyService.SetPropertyValidationResult validationResult = entityPropertyService.validateSetProperty(jiraAuthenticationContext.loggedInUser, issue.id, new EntityPropertyService.PropertyInput("{\"comment\":\"Has been updated\"}", "service-request-feedback-comment"))
            
            
            if (validationResult.isValid()) {
                log.info("IS VALID")
                result = entityPropertyService.setProperty(jiraAuthenticationContext.loggedInUser, validationResult)
                log.info("Updated result:" + result.entityProperty.first().value)
            } 

            anders.lantz added a comment - For anyone interested in reading and/or updating this information through the JAVA API, here is a POC:   import com.atlassian.jira.bc.issue.properties.IssuePropertyService import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.entity.property.EntityPropertyService import com.atlassian.jira.issue.Issue import com.atlassian.jira.issue.IssueManager import com.atlassian.jira.security.JiraAuthenticationContext import com.atlassian.jira.user.ApplicationUser import org.apache.log4j.Level import org.apache.log4j.Logger Logger log = Logger.getLogger( "Cleanup" ) log.setLevel(Level.ALL) String issueKey = "ISSUE-1234" IssueManager issueManager = ComponentAccessor.getIssueManager() Issue issue = issueManager.getIssueByCurrentKey(issueKey) IssuePropertyService entityPropertyService = ComponentAccessor.getComponentOfType(IssuePropertyService) JiraAuthenticationContext jiraAuthenticationContext = ComponentAccessor.getJiraAuthenticationContext() EntityPropertyService.PropertyResult result = entityPropertyService.getProperty(jiraAuthenticationContext.loggedInUser as ApplicationUser, issue.id, "service-request-feedback-comment" ) String originalValue = result.entityProperty.first().value log.info(originalValue) //Returns a JSON string: { "comment" : "THE FEEDBACK COMMENT GOES HERE" } EntityPropertyService.SetPropertyValidationResult validationResult = entityPropertyService.validateSetProperty(jiraAuthenticationContext.loggedInUser, issue.id, new EntityPropertyService.PropertyInput( "{\" comment\ ":\" Has been updated\ "}" , "service-request-feedback-comment" )) if (validationResult.isValid()) { log.info( "IS VALID" ) result = entityPropertyService.setProperty(jiraAuthenticationContext.loggedInUser, validationResult) log.info( "Updated result:" + result.entityProperty.first().value) }

            Jesse Ontiveros added a comment - jcleckler96521279 , you can vote for that here:  https://jira.atlassian.com/browse/JSDSERVER-8471

            James L Cleckler added a comment - - edited

            I am able to perform a search for this by using project = "XXX" and Satisfaction is not null and "Satisfaction Comment" is not EMPTY

            However, when I export the data the Satisfaction Comment is nowhere to be found.

            Has anyone been able to get the export to work to include Satisfaction Comments?

            James L Cleckler added a comment - - edited I am able to perform a search for this by using project = "XXX" and Satisfaction is not null and "Satisfaction Comment" is not EMPTY However, when I export the data the Satisfaction Comment is nowhere to be found. Has anyone been able to get the export to work to include Satisfaction Comments?

            Hi 7c56a68d4df4, this ticket only applies to the server/DC version of JSM.

            The request for this feature in cloud can be found here https://jira.atlassian.com/browse/JSDCLOUD-4317

            Aidan Goldthorpe added a comment - Hi 7c56a68d4df4 , this ticket only applies to the server/DC version of JSM. The request for this feature in cloud can be found here https://jira.atlassian.com/browse/JSDCLOUD-4317

            I can't seem to search on this in the Jira cloud platform. Does the above apply to server only? 

            alan.treston added a comment - I can't seem to search on this in the Jira cloud platform. Does the above apply to server only? 

            No, JSD 4.11 is only compatible with Jira 8.11

            Aidan Goldthorpe added a comment - No, JSD 4.11 is only compatible with Jira 8.11

            Is SD 4.11 compatible with Jira 8.5?

             

            K Stevenson added a comment - Is SD 4.11 compatible with Jira 8.5?  

            Jira Service Desk 4.11 is out now, and includes this feature! Important to note is that the satisfaction comments will only be searchable on new issues until a re-index is performed

            Aidan Goldthorpe added a comment - Jira Service Desk 4.11 is out now, and includes this feature! Important to note is that the satisfaction comments will only be searchable on new issues until a re-index is performed

            Is there any type of anticipated release date on implementation here?

            James L Cleckler added a comment - Is there any type of anticipated release date on implementation here?

            Commenting again - reporting against customer comments is fundamental to a service desk's operations. Please push this up the backlog.

            Zans McLachlan added a comment - Commenting again - reporting against customer comments is fundamental to a service desk's operations. Please push this up the backlog.

              agoldthorpe Aidan Goldthorpe
              fdd224933d11 Jonny Carter
              Votes:
              181 Vote for this issue
              Watchers:
              96 Start watching this issue

                Created:
                Updated:
                Resolved: