Wiki macro for work package create buttons

With OpenProject 7.4, you can create work packages from anywhere in the application. Simply use the new wiki macro to create a work package link or button.

Use the following syntax to add a work package link or button:

  •  Add a work package create link:
    • Code: {{create_work_package_link}}
    • Output: Work package create link
  • Add a work package create button:
    • Code: {{create_work_package_link(,button)}}
    • Output: Work package create button

You can also a specific work package type (e.g. a Task):

  • Add a work package create link for a specific type:
    • Code: {{create_work_package_link(Task)}}
    • Output: Task create link
  • Add a work package create button:
    • Code: {{create_work_package_link(Task, button)}}
    • Output: Task create button

Using this syntax you can add links or buttons to create work packages anywhere in OpenProject where you can use wiki syntax (e.g. wiki pages,

< Back to overview