Manage tasks in project management systems.

Version: 1.0.0
project-management/tasks
superface

Create a new task in a project

projects
title
description
parent
assignee
ID of the created task.
URL of the created task

1. Install

npx @superfaceai/cli install project-management/tasks

2. Use in your code

const { SuperfaceClient } = require('@superfaceai/one-sdk');

const sdk = new SuperfaceClient();

async function run() {
  // Load the installed profile
  const profile = await sdk.getProfile('project-management/tasks');

  // Use the profile
  const result = await profile
    .getUseCase('CreateTask')
    .perform({
      project: '46ebca75-68af-42a1-916d-b228c2082d4f',
      title: 'Get milk',
      description: 'We ran out of milk :('
    });

  return result.unwrap();
}

run();

3. Add providers