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

Solution Verified - 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content