Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

One Appfire Support Knowledge Base
Results will update as you type.
  • Cannot change feature 'isSubtask' for Issue Type
  • Capability CUSTOMER_INVITE_EMAIL_SUPPRESSED is set more than once for service desk project
  • ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory not found from bundle
  • CMJ Field layout scheme entity - DB misconfiguration
  • Missing board filter with id 'xxxxx'
  • License update failed. License is malformed!
  • java.lang.OutOfMemoryError: GC overhead limit exceeded
  • Jira Agile is required when deploying project(s) with no usages of Jira Agile/Software objects
  • java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  • Migrating a JSM Project when JSM is not installed in Target Instance
  • New custom field IDs are different after deploying a snapshot
  • Issue comment is not visible to the admin
  • Custom Field Context in CMJ
  • Project deployment using the Configuration Manager for Jira app fails with the error "Creation failed for email channel"
  • Due to Insight app dependency with CMJ UPM disables and enables all core system plugins while upgrading the CMJ app
  • CMJ: SQL exception thrown during a snapshot deployment
  • Missing watchers in the target instance after deployment
  • Configuration Manager for Jira - Snapshot cannot be deployed because of a disabled plugin
  • How to rebuild an index after node failure due to failed Import
  • Custom events of a notification scheme are not migrated with Configuration Manager for Jira (CMJ)
  • Configuration Manager for Jira - Request Terminated
  • Configuration Manager for Jira - browser closed during a deployment unexpectedly
  • Scriptrunner's Single Custom Picker is not working in JSM form after snapshot deployment
  • Incorrect resolution ID mapping during post-function migration
  • Optimizing Migration Time for Large Jira Instances Using Configuration Manager for Jira (CMJ)
  • Integrity Check Error: Object refers to a missing user
  • How to troubleshoot broken version sequences Error while deploying snapshot through Configuration Manager for Jira.
  • Best practices for when an instance is locked up during a migration with Project Configurator for Jira
    • How-to articles [PS]
      • Configuration Manager for Jira | Jira Sprint behavior during migrations
      • Best practices when statuses mismatch during Jira project migrations using CMJ
      • How parallel sprints are managed by the Configuration Manager for Jira app on instances with different configurations
      • How to fine tune an SQL Query
      • How to configure PostgreSQL data source profile in the SQL for Confluence app.
      • Configure Gmail as SMTP profile for outgoing emails in Jira and Confluence.
      • How to make REST API call to create and deploy snapshot using Postman [SUPPORTS]
      • How to fix missing lingo ID error when exporting a project in Configuration Manager for Jira
      • How to solve NullPointerException: null keys are not permitted error using Configuration Manager for Jira
      • How to resolve zip END header not found error
      • How to fix an issue when custom fields are getting locked
      • Selecting multiple projects via REST API when creating snapshot
      • How to address Duplicate object Event 'Issue Archived' has duplicates error
      • How to capture JavaScript console logs for Botron apps
      • How to fix a sprint's activated date which is not exported as part of a migration [PS]
      • How to make REST API call to create and deploy snapshot using Postman
      • Deploying on Jira instance with different language
      • Implicit addition of boards and filters in snapshot
      • Configuration Manager for Jira - Difference between the Select Apps page and the Missing Plugins page
      • How to migrate newly created comments in the source instance when the snapshot is already deployed in the target instance
      • "Edge would induce a cycle" error during snapshot deployment
      • Performance issues during the Configuration Manager for Jira deployment
      • How to check the progress of a running deployment if the window is closed
      • Using Configuration Manager for Jira while behind a firewall
      • Handling Automation for Jira during Server-to-Server Migrations
      • Configuration Manager for Jira - Data Center VS Cloud Versions
      • Handling Advanced Roadmaps for Jira issue links during DC to DC migrations
      • How to create a CMJ snapshot that contains Filters and Dashboards only.
      • Missing Service Project sidebar bar after succesfully deploying a snapshot
      • CMJ: migrate a required group of issues only
      • How to avoid creating a new context when the same snapshot is deployed multiple times.
      • FAQ on why "Export All Users to CSV" returns a 403 Error in Delegated Group Management for Jira App in Data Center?
      • How to fix No FieldLayoutScheme found for id XXXXX during deployment
      • How to split snapshots for large instances
  • Sprint Column Layout issues when deploying a snapshot
  • Configuration Manager for Jira - Xray exports all custom fields, issue types and statuses from the Jira instance
  • Integrity Check - Request type permissions not found for request type ID
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Selecting multiple projects via REST API when creating snapshot
    Published Nov 13, 2018

    Selecting multiple projects via REST API when creating snapshot

    Nov 13, 2018

    Currently CMJ provides a multi-selection dropdown to select several projects when creating a snapshot as part from the snapshot wizard.

    Often this is not convenient for selecting large number of projects or when all projects are required to be part of the snapshot.

    In this case, CMJ's REST API can be used to create the snapshot providing a list of project keys.

    • To learn more about CMJ's REST API refer to this page.

    • For more information about the documentation of the REST API refer to this page.

    Following is an example that creates a snapshot for projects with keys PRJA and PRJB including filters, boards and dashboards.

    curl -u admin:admin -i -H "Content-Type: application/json" -X POST http://localhost:2990/jira/rest/configuration-manager/api/1.3/snapshots -d ' { "name" : "My Project Snapshot", "description" : "Interesting snapshot", "scope" : "project", "projectKey" : [ "PRJA", "PRJB" ], "filters" : [ { "filterId" : 10001 } ], "agileBoards" : [ { "boardId" : 10001 } ], "dashboards" : [ { "dashboardId" : 10001 } ], "options" : { "checkCustomFieldValues" : true } } '
    {"serverDuration": 13, "requestCorrelationId": "d23714e2f7a944799e923dbe1cb260b8"}