I've searched Community pages and Googled but can't find a way to export a list of Canned Responses. We've just moved to cloud and all existing canned responses were created as Shared, which means we've hit the limit of 100 shared responses already. I just need to export the existing shared and personal so that I can review and tidy up to allow capacity for the creation of more shared canned responses by our Service Desk.
Thanks......
There is not currently a REST API endpoint for retrieving the canned responses, but it is possible using the Atlassian GraphQL gateway.
Here is an example GraphQL query to pull this data. Keep in mind that you will need to use the cursor that is returned for pagination to get all of the responses:
Query:
query GetProjectCannedResponses($projectAri: ID!) { jiraCannedResponse { searchCannedResponses( filter: {projectAri: $projectAri, query: ""} ) { edges { node { content title createdBy id isSignature lastUpdatedAt projectAri scope } } pageInfo { endCursor startCursor hasPreviousPage hasNextPage } } } }
Variables:
{ "projectAri": "ari:cloud:jira:xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx:project/10001" }
Note that in the projectAri variable xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx is your Jira cloud site id and 10001 is the id of your project.
You can access the Atlassian GraphQL gateway via https://developer.atlassian.com/gateway/api/graphql or https://your_domain.atlassian.net/gateway/api/graphql
Documentation for the GraphQL gateway can be found here:
https://developer.atlassian.com/platform/atlassian-graphql-api/graphql/#overview
I have updated [JSDCLOUD-13277] with this workaround.
@Mark Tobin did you ever get an answer to this? I am trying to do the same thing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michelle......I logged a support ticket and was advised that this feature isn't currently available. I couldn't find an app or any KB articles to assist so I ended up biting the bullet and tidied them all up manually. It was painful but there was no other option unfortunately.
There's an open ticket if you want to vote: [JSDCLOUD-13277] Export/import canned responses - Create and track feature requests for Atlassian products.
Good luck with the tidy up :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.