Provide public APIs to retrieve and create automation rules and parse values

XMLWordPrintable

      Issue Summary

      This is reproducible on Data Center: (yes)

      Currently, some Automation artifacts have been published in

      1. https://maven.artifacts.atlassian.com/com/atlassian/jira/plugin/automation/automation-api/
      2. https://maven.artifacts.atlassian.com/com/atlassian/jira/plugin/automation/tenant-api/
      3. https://maven.artifacts.atlassian.com/com/atlassian/jira/plugin/automation/jira-client-native/

      Which are internal only, and need to be made private. These provide some APIs which are not available as yet.

      This tickets is a request to create a public Java API which meets the following needs

      1. Retrieve automation rules (not as JSON string). It should expose all related classes to navigate rule configuration
      2. Create automation rule. It should offer an ability to create rules in nested transaction (related ticket : https://jira.atlassian.com/browse/JIRAAUTOSERVER-561)
      3. Java API to parse smart values and Advanced fields

      One these have been provided, the above artifacts can be made private.

      Note

      Relying on internal classes that are not marked as @PublicApi can cause troubles later on with compatibility. We do not recommend building app based on those classes.

            Assignee:
            Unassigned
            Reporter:
            James Richards
            Votes:
            22 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: