Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-51

Official REST API to manage rules, export/import and access automation audit logs

    • 0
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem Definition

      It is not possible to create, edit, delete, enable, export/import or disable automation rules using a REST API.

      In some cases, for example when creating a new staging instance from production data, it is desired to have some or all automation rules disabled or edited at once, in an automated way.

      Suggested Solution

      Implement a public REST API to allow the following operations:

      • Create rules
      • Edit rules
      • Enable/disable rules
      • Delete rules
      • Get list of rules
      • Export/Import rules

      ***

      We would like to export Jira automation logs to an external dashboarding system. Unfortunately, both the /auditlog and the /automation endpoints are internal APIs. They are not available outside Jira.

       

      Is it possible to expose automation-related APIs to allow us to do the following either via a Rest API or a Webhook:

      1. Export automation audit logs
      2. Create/Delete/Edit/View automation rules
      3. Export Automation rules

       

            [AUTO-51] Official REST API to manage rules, export/import and access automation audit logs

            Dhanapal Mohanasamy made changes -
            Status Original: Under Consideration [ 11774 ] New: In Progress [ 3 ]
            CST JAC Workato Bot made changes -
            Labels Original: Automation_Move_JSW jsm-s4 jsw-s13 jws24 orchestration sam-request New: ACE-7647 Automation_Move_JSW jsm-s4 jsw-s13 jws24 orchestration sam-request
            Shanita Walters made changes -
            Remote Link New: This issue links to "ACE-7647 (Atlassian Support System)" [ 1002842 ]
            Shanita Walters made changes -
            Remote Link New: This issue links to "ACE-7646 (Atlassian Support System)" [ 1002677 ]
            Victoria M made changes -
            Labels Original: Automation_Move_JSW jsm-s4 jsw-s13 jws24 orchestration New: Automation_Move_JSW jsm-s4 jsw-s13 jws24 orchestration sam-request

            With a big system and data integrity enforcement, having almost close to 3000 rules caused a huge pain while refreshing data from prod to test system and making these rules enable/disable same as Prod env. 

            As importing rules with json file of > 5 MB not supported, had to spilt these rules info multiple files and import those one by one (for ours it was 19 files to be imported for ~ 3000 rules) is a tedious, laborious and error prone process.

            API automation would help us manage any rules in the system and also for such data refresh.

            Appreciate your considering for such support soon to help us.

            Abhijit Saha added a comment - With a big system and data integrity enforcement, having almost close to 3000 rules caused a huge pain while refreshing data from prod to test system and making these rules enable/disable same as Prod env.  As importing rules with json file of > 5 MB not supported, had to spilt these rules info multiple files and import those one by one (for ours it was 19 files to be imported for ~ 3000 rules) is a tedious, laborious and error prone process. API automation would help us manage any rules in the system and also for such data refresh. Appreciate your considering for such support soon to help us.
            Enida made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 1000829 ]

            Since there's no way of having backups, we're implementing "backups" based on getting information from API calls. But no API endpoints for this, since 2021. It's critical for our business model and also for Atlassian being what we chose. 

            Rubén Cardenal added a comment - Since there's no way of having backups, we're implementing "backups" based on getting information from API calls. But no API endpoints for this, since 2021. It's critical for our business model and also for Atlassian being what we chose. 
            Dhanapal Mohanasamy made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 994514 ]
            Charlie Gavey made changes -
            Assignee Original: Charlie Gavey [ 89403358cf11 ] New: Dhanapal Mohanasamy [ e0eb84d6fb47 ]

              e0eb84d6fb47 Dhanapal Mohanasamy
              vfontes Vinicius Fontes
              Votes:
              819 Vote for this issue
              Watchers:
              436 Start watching this issue

                Created:
                Updated: