Skip to content

JiraConnect: Send feature-flag information

Alex Kalderimis requested to merge ajk-229347-feature-flag-in-jira into master

What does this MR do?

Relates to #229347 (closed)

This adds a feature-flag module to our JiraConnect integration, with support for sending updates.

The feature is guarded by a feature flag: :jira_sync_feature_flags

QA instructions

  • Enable the :sync_jira_deployments feature flag in your rails console.
  • Install or update your JiraConnect installation (see https://gitlab.com/gitlab-org/gitlab/blob/master/doc/development/integrations/jira_connect.md)
  • Link the installation to a namespace you want to test in.
  • Create one or more Jira issues, taking note of their issue keys (e.g. FOO-123).
  • Create one or more feature flags that mention these issue keys in their description.
  • Verify that the feature flag appears in Jira (see screenshots)

Console based QA:

the request responses can be inspected in the logs, or at the terminal with:

ff = Operation::FeatureFlag.last
p = ff.project
s = JiraConnect::SyncService.new(p)
s.execute(feature_flags: [ff])

Screenshots (strongly suggested)

Table view:

1610462236

Issue view:

1610462225

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Nick Thomas

Merge request reports

Loading