Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

989 B
Raw Blame
# Schema: RelationWriteModel
---
type: object
required:
  - _links
  - type
properties:
  type:
    type: string
    description: The relation type.
    enum:
      - relates
      - duplicates
      - duplicated
      - blocks
      - blocked
      - precedes
      - follows
      - includes
      - partof
      - requires
      - required
  description:
    type:
      - 'string'
      - 'null'
    description: A descriptive text for the relation.
  lag:
    type:
      - 'integer'
      - 'null'
    description: The lag in days between closing of `from` and start of `to`
    minimum: 0
  _links:
    type: object
    properties:
      to:
        allOf:
          - $ref: './link.yml'
          - description: |-
              The work package the relation ends in. Only available on relation creation, not on update.
              
              **Resource**: WorkPackage
              
              # Conditions
              
              **Permission**: view work packages