Lock tasks

Release has the lock task feature. Lock tasks are mandatory. If a lock task occurs during a release, this task needs to be executed before the release can continue.

In highly regulated environments with strict compliance requirements, lock tasks ensure that standards are adhered to, and also that evidence, along with task details, are stored in activity logs. Lock tasks make continuous delivery and compliance possible in regulated environments.

In an environment that is not highly regulated, and steps are open to interpretation, lock tasks ensure that mandatory activities are executed. In this case, you can give teams the freedom to compose their own pipeline and adjust it to their situation.

Locked tasks can be:

  • Automated - a release will continue once a locked task has completed.

    Or

  • Manual - for a release to continue, a user will need to sign-off in Release, or by remote approval.

Configuring lock tasks involves the following:

  1. Granting permission to a user or a team.
  2. Adding locks to tasks.

Audits

Lock tasks ensure your audit trail. If a team decides to skip certain activities, limited evidence is stored in activity logs. This can result in bad auditing results. By locking tasks you ensure that they are executed and also that evidence, along with task details, and signee information, is stored in the evidence database.

Grant lock permission to user or a team

Lock permission is role based and must be added to a user or team before they can lock or unlock tasks. We recommend that this role is given to users who create release pipelines, or specific compliance people.

Important: Before adding lock tasks, specify, design, and test your complete pipeline. Adding locks before the pipeline is designed and tested will make the design process complex.

  1. In the top navigation bar, click Design.
  2. Click Folders.
  3. Select a folder.
  4. Click the Teams & Permissions tab.
  5. In the Folder permissions section, add the team name to Lock release task or Lock release template task or both.

Lock permissions

Lock task actions

Add a lock to task

  1. In the top navigation bar, click Releases.
  2. Click the Releases tab.
  3. From the Show dropdown, select Release flow
  4. Hover over a task or group, click menu button, and select Lock.

When a task is locked, a lock is displayed on the left side of the task and the task appears striped.

Locked task example

Remove a lock from a tasks

  1. In the top navigation bar, click Releases.
  2. Click the Releases tab.
  3. From the Show dropdown, select Release flow
  4. Hover over a task or group, click menu button, and select Unlock.

Lock task specification

The following section defines what actions are available when a task is locked.

When a task is locked, the following actions are available:

  • Assign a task to an owner, a team, or to me
  • Assign and owner, to a team, or to a person
  • Add or edit comments
  • Add watchers
  • Move - when moving a locked task inside a group or phase that is not locked
  • Complete a task
  • Retry a task
  • Abort a task
  • Fail a task
  • Add attachments
  • Toggle conditions
  • Set the variable values that will be passed to the created release

When a task is locked, the following actions are not available:

  • Edit title, description, start and end dates, and tags
  • Edit something that is task specific (like scripts, remote servers, cc, bcc, etc.)
  • Toggle postponed during blackout
  • Remove attachments
  • Remove watchers
  • Edit preconditions
  • Move - when moving a locked task inside a group or phase that is locked
  • Move - when moving a locked task outside a group or phase that is locked
  • Complete a task in advance
  • Skip a task
  • Duplicate a task
  • Edit the subtasks from within a locked task grouping
  • Add or remove the subtasks from within a locked task grouping
  • Move a task from inside a locked task grouping
  • Add or remove tasks from a parallel group
  • Link or unlink a task
  • Add or remove dependencies
  • Add or remove conditions
  • Edit input or output properties
  • Edit title, template, risk profile, or release ID
  • Edit the variable list