Skip to content

Support Jira dependencies in the Description module

Support Jira dependencies in the Description module

The current MRDescription does not recognize Jira links in the Depends: tag.

This adds finding Jira links in the Depends tag of an MRDescription.
This is done by providing two new properties, depends_bzs and depends_jiras. The depends_bzs property is simply the old depends property renamed. A new depends property will return the combined set of depends_bzs and depends_jiras.

bughook is updated to use depends_bzs and jirahook is updated to use depends_jiras.

To help do this a get_linked_mrs function is added to the libjira module to get any MR URL linked to the given jira.

Signed-off-by: Patrick Talbert ptalbert@redhat.com

Merge request reports

Loading