Is it possible to create an errata via API without Bug ID and Bug Summary?

Solution In Progress - Updated -

Issue

We've created a Perl script to generate an errata from the command line. We're using the method errata.create for this and, as described in the API documentation, it's mandatory to pass the bugs parameter. This bugs parameter consists of an array of struct data with the id and summary fields. It is possible to create the errata with a bug array like this:

my @errata_bug = (
    {
      'id'               => 0,
      'summary'          => 'n/a',
    },
  );

Is there a way to create an errata via API without an BugID and BugSummary?

Environment

  • Red Hat Satellite 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.