Targetprocess

App · 23 actions

Plan and track user stories, bugs, tasks, features and epics, with comments, assignments and time, in Targetprocess (Apptio).

Actions

ActionWhat it does
Add commentComment on a work item, or reply to a comment.
Assign userAssign a person to a work item, in a role such as Developer.
Create projectCreate a project.
Create work itemCreate a user story, bug, task, feature, epic or request in a project.
Delete commentDelete a comment.
Delete projectDelete a project and the work in it.
Delete timeDelete a time record.
Delete work itemDelete a work item.
Get current userGet the Targetprocess user the token belongs to, with the account's edition.
Get projectGet a project.
Get work itemGet a user story, bug, task, feature, epic or request.
List assignmentsList the people assigned to a work item, with their roles.
List commentsList the comments on a work item, newest first.
List projectsList the projects the token's user can see, newest first.
List releasesList releases, optionally in one project, latest first.
List statesList the workflow states of a kind of work item, across the account's processes.
List teamsList the account's teams.
List timeList the time logged on a work item, newest first.
List usersList the account's people.
List work itemsList user stories, bugs, tasks, features, epics or requests, with filters.
Log timeRecord time spent on a work item.
Unassign userRemove an assignment from a work item.
Update work itemChange a work item's name, description, state, priority, owner, team, release, parent, tags, effort or dates.

Add comment

Comment on a work item, or reply to a comment.

Inputs

Work item IDitem_idnumberRequired
The work item's ID.
CommenttexttextRequired
The comment. Formatted as HTML, or Markdown if your account uses it.
Reply to comment IDparent_idnumber
The ID of the comment this replies to.
Privateis_privatetrue/false
Only people with access to private comments see it.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "CreateDate": "example",
    "Description": "example",
    "General": {
      "Id": 1,
      "Name": "example"
    },
    "Id": 1,
    "IsPinned": true,
    "IsPrivate": true,
    "Owner": {
      "FullName": "example",
      "Id": 1,
      "Login": "example"
    },
    "ParentId": 1
  }
}

Assign user

Assign a person to a work item, in a role such as Developer.

Inputs

Work item IDitem_idnumberRequired
The work item's ID.
Personperson_idnumberRequired
The person to assign.
Rolerole_idnumber
The role they work in.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "Assignable": {
      "Id": 1,
      "Name": "example"
    },
    "GeneralUser": {
      "FullName": "example",
      "Id": 1,
      "Login": "example"
    },
    "Id": 1,
    "Role": {
      "Id": 1,
      "Name": "example"
    }
  }
}

Create project

Create a project.

Inputs

NamenametextRequired
The project's name.
Descriptiondescriptiontext
What the project is for.
Abbreviationabbreviationtext
A short name for it, such as `WEB`.
Privateis_privatetrue/false
Only its members can see it.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "Abbreviation": "example",
    "Color": "example",
    "CreateDate": "example",
    "Description": "example",
    "EndDate": "example",
    "EntityState": {
      "Id": 1,
      "Name": "example"
    },
    "Id": 1,
    "IsActive": true,
    "IsPrivate": true,
    "ModifyDate": "example",
    "Name": "example",
    "Owner": {
      "FullName": "example",
      "Id": 1
    },
    "Process": {
      "Id": 1,
      "Name": "example"
    },
    "StartDate": "example"
  }
}

Create work item

Create a user story, bug, task, feature, epic or request in a project.

Inputs

TypetypetextRequired
The kind of work item.One of: UserStories (User story), Bugs (Bug), Tasks (Task), Features (Feature), Epics (Epic), Requests (Request).
Projectproject_idnumberRequired
The project it belongs to.
NamenametextRequired
The work item's name.
Descriptiondescriptiontext
What it is about. Formatted as HTML, or Markdown if your account uses it.
Statestate_idnumber
Its state, such as Open or Done. States depend on the type and the project's process.
Prioritypriority_idnumber
Its priority.
Ownerowner_idnumber
The person who owns it.
Teamassigned_team_idnumber
The team responsible for it.
Releaserelease_idnumber
The release it is planned for.
User story IDuser_story_idnumber
For a task: the ID of the user story it belongs to.
Feature IDfeature_idnumber
For a user story or bug: the ID of its feature.
Epic IDepic_idnumber
For a feature: the ID of its epic.
Tagstagslist
Its tags. They replace the tags it has.
Efforteffortnumber
Its estimated effort, in the account's units (points or hours).At least 0.
Planned startplanned_start_datedate
When work on it is planned to start.
Planned endplanned_end_datedate
When it is planned to be done.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "CreateDate": "example",
    "Creator": {
      "FullName": "example",
      "Id": 1,
      "Login": "example"
    },
    "CustomFields": [
      {}
    ],
    "Description": "example",
    "Effort": 1,
    "EffortCompleted": 1,
    "EffortToDo": 1,
    "EndDate": "example",
    "EntityState": {
      "Id": 1,
      "IsFinal": true,
      "Name": "example"
    },
    "EntityType": {
      "Id": 1,
      "Name": "example"
    },
    "Epic": {
      "Id": 1,
      "Name": "example"
    },
    "Feature": {
      "Id": 1,
      "Name": "example"
    },
    "Id": 1,
    "LastCommentDate": "example",
    "LastStateChangeDate": "example",
    "ModifyDate": "example",
    "Name": "example",
    "NumericPriority": 1,
    "Owner": {
      "FullName": "example",
      "Id": 1,
      "Login": "example"
    },
    "PlannedEndDate": "example",
    "PlannedStartDate": "example",
    "Priority": {
      "Id": 1,
      "Name": "example"
    },
    "Progress": 1,
    "Project": {
      "Id": 1,
      "Name": "example"
    },
    "Release": {
      "Id": 1,
      "Name": "example"
    },
    "ResourceType": "example",
    "StartDate": "example",
    "Tags": "example",
    "Team": {
      "Id": 1,
      "Name": "example"
    },
    "TimeRemain": 1,
    "TimeSpent": 1,
    "UserStory": {
      "Id": 1,
      "Name": "example"
    }
  }
}

Delete comment

Delete a comment.

Inputs

Comment IDcomment_idnumberRequired
The comment's ID, from List comments or Add comment.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {}
}

Delete project

Delete a project and the work in it.

Inputs

Projectproject_idnumberRequired
The project.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {}
}

Delete time

Delete a time record.

Inputs

Time IDtime_idnumberRequired
The time record's ID, from List time or Log time.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {}
}

Delete work item

Delete a work item.

Inputs

TypetypetextRequired
The kind of work item.One of: UserStories (User story), Bugs (Bug), Tasks (Task), Features (Feature), Epics (Epic), Requests (Request).
Work item IDitem_idnumberRequired
The work item's ID, from List work items or a trigger.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {}
}

Get current user

Get the Targetprocess user the token belongs to, with the account's edition.

Inputs

None.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "Acid": "example",
    "Edition": "example",
    "LoggedUser": {
      "CreateDate": "example",
      "Email": "example",
      "FirstName": "example",
      "FullName": "example",
      "Id": 1,
      "IsActive": true,
      "IsAdministrator": true,
      "LastName": "example",
      "Login": "example",
      "ModifyDate": "example"
    }
  }
}

Get project

Get a project.

Inputs

Projectproject_idnumberRequired
The project.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "Abbreviation": "example",
    "Color": "example",
    "CreateDate": "example",
    "Description": "example",
    "EndDate": "example",
    "EntityState": {
      "Id": 1,
      "Name": "example"
    },
    "Id": 1,
    "IsActive": true,
    "IsPrivate": true,
    "ModifyDate": "example",
    "Name": "example",
    "Owner": {
      "FullName": "example",
      "Id": 1
    },
    "Process": {
      "Id": 1,
      "Name": "example"
    },
    "StartDate": "example"
  }
}

Get work item

Get a user story, bug, task, feature, epic or request.

Inputs

TypetypetextRequired
The kind of work item.One of: UserStories (User story), Bugs (Bug), Tasks (Task), Features (Feature), Epics (Epic), Requests (Request).
Work item IDitem_idnumberRequired
The work item's ID, from List work items or a trigger.
Include custom fieldsinclude_custom_fieldstrue/false
Include its custom fields.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "CreateDate": "example",
    "Creator": {
      "FullName": "example",
      "Id": 1,
      "Login": "example"
    },
    "CustomFields": [
      {}
    ],
    "Description": "example",
    "Effort": 1,
    "EffortCompleted": 1,
    "EffortToDo": 1,
    "EndDate": "example",
    "EntityState": {
      "Id": 1,
      "IsFinal": true,
      "Name": "example"
    },
    "EntityType": {
      "Id": 1,
      "Name": "example"
    },
    "Epic": {
      "Id": 1,
      "Name": "example"
    },
    "Feature": {
      "Id": 1,
      "Name": "example"
    },
    "Id": 1,
    "LastCommentDate": "example",
    "LastStateChangeDate": "example",
    "ModifyDate": "example",
    "Name": "example",
    "NumericPriority": 1,
    "Owner": {
      "FullName": "example",
      "Id": 1,
      "Login": "example"
    },
    "PlannedEndDate": "example",
    "PlannedStartDate": "example",
    "Priority": {
      "Id": 1,
      "Name": "example"
    },
    "Progress": 1,
    "Project": {
      "Id": 1,
      "Name": "example"
    },
    "Release": {
      "Id": 1,
      "Name": "example"
    },
    "ResourceType": "example",
    "StartDate": "example",
    "Tags": "example",
    "Team": {
      "Id": 1,
      "Name": "example"
    },
    "TimeRemain": 1,
    "TimeSpent": 1,
    "UserStory": {
      "Id": 1,
      "Name": "example"
    }
  }
}

List assignments

List the people assigned to a work item, with their roles.

Inputs

Work item IDitem_idnumberRequired
The work item's ID.
Limittakenumber
How many to return.From 1 to 1000. Default: 25.
Skipskipnumber
How many to skip, for the next page.At least 0. Default: 0.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "HasMore": true,
    "Items": [
      {
        "Assignable": {
          "Id": 1,
          "Name": "example"
        },
        "GeneralUser": {
          "FullName": "example",
          "Id": 1,
          "Login": "example"
        },
        "Id": 1,
        "Role": {
          "Id": 1,
          "Name": "example"
        }
      }
    ]
  }
}

List comments

List the comments on a work item, newest first.

Inputs

Work item IDitem_idnumberRequired
The work item's ID.
Limittakenumber
How many to return.From 1 to 1000. Default: 25.
Skipskipnumber
How many to skip, for the next page.At least 0. Default: 0.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "HasMore": true,
    "Items": [
      {
        "CreateDate": "example",
        "Description": "example",
        "General": {
          "Id": 1,
          "Name": "example"
        },
        "Id": 1,
        "IsPinned": true,
        "IsPrivate": true,
        "Owner": {
          "FullName": "example",
          "Id": 1,
          "Login": "example"
        },
        "ParentId": 1
      }
    ]
  }
}

List projects

List the projects the token's user can see, newest first.

Inputs

Namenametext
Part of the project's name.
Active onlyactive_onlytrue/false
Leave out inactive projects.Default: true.
Limittakenumber
How many to return.From 1 to 1000. Default: 25.
Skipskipnumber
How many to skip, for the next page.At least 0. Default: 0.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "HasMore": true,
    "Items": [
      {
        "Abbreviation": "example",
        "Color": "example",
        "CreateDate": "example",
        "Description": "example",
        "EndDate": "example",
        "EntityState": {
          "Id": 1,
          "Name": "example"
        },
        "Id": 1,
        "IsActive": true,
        "IsPrivate": true,
        "ModifyDate": "example",
        "Name": "example",
        "Owner": {
          "FullName": "example",
          "Id": 1
        },
        "Process": {
          "Id": 1,
          "Name": "example"
        },
        "StartDate": "example"
      }
    ]
  }
}

List releases

List releases, optionally in one project, latest first.

Inputs

Projectproject_idnumber
Only releases in this project.
Limittakenumber
How many to return.From 1 to 1000. Default: 25.
Skipskipnumber
How many to skip, for the next page.At least 0. Default: 0.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "HasMore": true,
    "Items": [
      {
        "EndDate": "example",
        "Id": 1,
        "IsCurrent": true,
        "Name": "example",
        "Project": {
          "Id": 1,
          "Name": "example"
        },
        "StartDate": "example"
      }
    ]
  }
}

List states

List the workflow states of a kind of work item, across the account's processes.

Inputs

Typetypetext
The kind of work item.One of: UserStories (User story), Bugs (Bug), Tasks (Task), Features (Feature), Epics (Epic), Requests (Request).

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "HasMore": true,
    "Items": [
      {
        "EntityType": {
          "Id": 1,
          "Name": "example"
        },
        "Id": 1,
        "IsFinal": true,
        "IsInitial": true,
        "IsPlanned": true,
        "Name": "example",
        "NumericPriority": 1,
        "Process": {
          "Id": 1,
          "Name": "example"
        }
      }
    ]
  }
}

List teams

List the account's teams.

Inputs

Limittakenumber
How many to return.From 1 to 1000. Default: 25.
Skipskipnumber
How many to skip, for the next page.At least 0. Default: 0.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "HasMore": true,
    "Items": [
      {
        "Abbreviation": "example",
        "Id": 1,
        "IsActive": true,
        "Name": "example"
      }
    ]
  }
}

List time

List the time logged on a work item, newest first.

Inputs

Work item IDitem_idnumberRequired
The work item's ID.
Limittakenumber
How many to return.From 1 to 1000. Default: 25.
Skipskipnumber
How many to skip, for the next page.At least 0. Default: 0.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "HasMore": true,
    "Items": [
      {
        "Assignable": {
          "Id": 1,
          "Name": "example"
        },
        "CreateDate": "example",
        "Date": "example",
        "Description": "example",
        "Id": 1,
        "Project": {
          "Id": 1,
          "Name": "example"
        },
        "Remain": 1,
        "Role": {
          "Id": 1,
          "Name": "example"
        },
        "Spent": 1,
        "User": {
          "FullName": "example",
          "Id": 1,
          "Login": "example"
        }
      }
    ]
  }
}

List users

List the account's people.

Inputs

Emailemailtext
Only the person with this email.
Active onlyactive_onlytrue/false
Leave out deactivated people.Default: true.
Limittakenumber
How many to return.From 1 to 1000. Default: 25.
Skipskipnumber
How many to skip, for the next page.At least 0. Default: 0.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "HasMore": true,
    "Items": [
      {
        "CreateDate": "example",
        "Email": "example",
        "FirstName": "example",
        "FullName": "example",
        "Id": 1,
        "IsActive": true,
        "IsAdministrator": true,
        "LastName": "example",
        "Login": "example",
        "ModifyDate": "example"
      }
    ]
  }
}

List work items

List user stories, bugs, tasks, features, epics or requests, with filters.

Inputs

TypetypetextRequired
The kind of work item.One of: UserStories (User story), Bugs (Bug), Tasks (Task), Features (Feature), Epics (Epic), Requests (Request).
Projectproject_idnumber
Only work in this project.
Statestatetext
Only work in the state with this name, such as `Open` or `Done`.
Ownerowner_idnumber
Only work owned by this person.
Namenametext
Part of the name to look for.
Tagtagtext
Only work with this tag.
Changed sincemodified_sincedate
Only work changed on or after this day.
Sortsorttext
The order to list them in.One of: ModifyDate (Recently changed first), CreateDate (Newest first), NumericPriority (Rank), Name. Default: ModifyDate.
Limittakenumber
How many to return.From 1 to 1000. Default: 25.
Skipskipnumber
How many to skip, for the next page.At least 0. Default: 0.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "HasMore": true,
    "Items": [
      {
        "CreateDate": "example",
        "Creator": {
          "FullName": "example",
          "Id": 1,
          "Login": "example"
        },
        "CustomFields": [
          {}
        ],
        "Description": "example",
        "Effort": 1,
        "EffortCompleted": 1,
        "EffortToDo": 1,
        "EndDate": "example",
        "EntityState": {
          "Id": 1,
          "IsFinal": true,
          "Name": "example"
        },
        "EntityType": {
          "Id": 1,
          "Name": "example"
        },
        "Epic": {
          "Id": 1,
          "Name": "example"
        },
        "Feature": {
          "Id": 1,
          "Name": "example"
        },
        "Id": 1,
        "LastCommentDate": "example",
        "LastStateChangeDate": "example",
        "ModifyDate": "example",
        "Name": "example",
        "NumericPriority": 1,
        "Owner": {
          "FullName": "example",
          "Id": 1,
          "Login": "example"
        },
        "PlannedEndDate": "example",
        "PlannedStartDate": "example",
        "Priority": {
          "Id": 1,
          "Name": "example"
        },
        "Progress": 1,
        "Project": {
          "Id": 1,
          "Name": "example"
        },
        "Release": {
          "Id": 1,
          "Name": "example"
        },
        "ResourceType": "example",
        "StartDate": "example",
        "Tags": "example",
        "Team": {
          "Id": 1,
          "Name": "example"
        },
        "TimeRemain": 1,
        "TimeSpent": 1,
        "UserStory": {
          "Id": 1,
          "Name": "example"
        }
      }
    ]
  }
}

Log time

Record time spent on a work item.

Inputs

Work item IDitem_idnumberRequired
The work item's ID.
Hours spentspentnumberRequired
Hours spent.At least 0.
Hours remainingremainnumber
Hours still to go.At least 0.
Datedatedate
The day the time was spent. Leave empty for today.
Descriptiondescriptiontext
What the time was spent on.
Personperson_idnumber
Whose time it is. Leave empty for the token's user.
Rolerole_idnumber
The role the time was spent in.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "Assignable": {
      "Id": 1,
      "Name": "example"
    },
    "CreateDate": "example",
    "Date": "example",
    "Description": "example",
    "Id": 1,
    "Project": {
      "Id": 1,
      "Name": "example"
    },
    "Remain": 1,
    "Role": {
      "Id": 1,
      "Name": "example"
    },
    "Spent": 1,
    "User": {
      "FullName": "example",
      "Id": 1,
      "Login": "example"
    }
  }
}

Unassign user

Remove an assignment from a work item.

Inputs

Assignment IDassignment_idnumberRequired
The assignment's ID, from List assignments or Assign user.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {}
}

Update work item

Change a work item's name, description, state, priority, owner, team, release, parent, tags, effort or dates.

Inputs

TypetypetextRequired
The kind of work item.One of: UserStories (User story), Bugs (Bug), Tasks (Task), Features (Feature), Epics (Epic), Requests (Request).
Work item IDitem_idnumberRequired
The work item's ID, from List work items or a trigger.
Namenametext
The work item's name.
Descriptiondescriptiontext
What it is about. Formatted as HTML, or Markdown if your account uses it.
Statestate_idnumber
Its state, such as Open or Done. States depend on the type and the project's process.
Prioritypriority_idnumber
Its priority.
Ownerowner_idnumber
The person who owns it.
Teamassigned_team_idnumber
The team responsible for it.
Releaserelease_idnumber
The release it is planned for.
User story IDuser_story_idnumber
For a task: the ID of the user story it belongs to.
Feature IDfeature_idnumber
For a user story or bug: the ID of its feature.
Epic IDepic_idnumber
For a feature: the ID of its epic.
Tagstagslist
Its tags. They replace the tags it has.
Efforteffortnumber
Its estimated effort, in the account's units (points or hours).At least 0.
Planned startplanned_start_datedate
When work on it is planned to start.
Planned endplanned_end_datedate
When it is planned to be done.

Outputs

dataobject
The response from Targetprocess.
Example output
{
  "data": {
    "CreateDate": "example",
    "Creator": {
      "FullName": "example",
      "Id": 1,
      "Login": "example"
    },
    "CustomFields": [
      {}
    ],
    "Description": "example",
    "Effort": 1,
    "EffortCompleted": 1,
    "EffortToDo": 1,
    "EndDate": "example",
    "EntityState": {
      "Id": 1,
      "IsFinal": true,
      "Name": "example"
    },
    "EntityType": {
      "Id": 1,
      "Name": "example"
    },
    "Epic": {
      "Id": 1,
      "Name": "example"
    },
    "Feature": {
      "Id": 1,
      "Name": "example"
    },
    "Id": 1,
    "LastCommentDate": "example",
    "LastStateChangeDate": "example",
    "ModifyDate": "example",
    "Name": "example",
    "NumericPriority": 1,
    "Owner": {
      "FullName": "example",
      "Id": 1,
      "Login": "example"
    },
    "PlannedEndDate": "example",
    "PlannedStartDate": "example",
    "Priority": {
      "Id": 1,
      "Name": "example"
    },
    "Progress": 1,
    "Project": {
      "Id": 1,
      "Name": "example"
    },
    "Release": {
      "Id": 1,
      "Name": "example"
    },
    "ResourceType": "example",
    "StartDate": "example",
    "Tags": "example",
    "Team": {
      "Id": 1,
      "Name": "example"
    },
    "TimeRemain": 1,
    "TimeSpent": 1,
    "UserStory": {
      "Id": 1,
      "Name": "example"
    }
  }
}

On this page