Uploaded image for project: 'Jira Software Cloud'
  1. Jira Software Cloud
  2. JSWCLOUD-23081

Deployment data removed when removing apps to integrate with CI/CD tools

    XMLWordPrintable

Details

    Description

      Issue Summary

      When uninstalling an app to integrate with Deployment tools, like for example  Octopus Deploy, all the Deployment data stored in Jira is removed.

      Reinstalling the app doesn't work since the app is only sending data to Jira using the Submit deployment data (POST /deployments/0.1/bulk) when a new deployment occurs, but there is no logic to send data related to previous deployments to Jira.

      Now, if this is expected behavior it should be EXPLICITLY mentioned in the endpoint or development documentation:

       

      Without having this behavior documented, app developers cannot possibly know they have to implement a back-filling mechanism for their apps.

       

      This is reproducible not on Data Center.

      Steps to Reproduce

      1. Establish connection between Octopus Deploy and Jira
      2. Enable deployments for a Jira project
      3. Install and enable Jira plugin for Octopus Deploy
      4. Create issue for project (i.e. TEST-1)
      5. Commit code changes to source repo that resolves issue (i.e. TEST-1)
      6. Create release and deployment
      7. View deployment data in Jira
      8. Uninstall and reinstall Jira plugin for Octopus Deploy

      Expected Results

      The deployment data for the issue (TEST-1) is still there

      Actual Results

      The deployment information is lost forever

      Workaround

      There's no workaround available at the moment

      Attachments

        Issue Links

          Activity

            People

              kmoraesdasilva Karina
              dbonotto Dario B
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: