Targetprocess

The Targetprocess Developer Hub

Welcome to the Targetprocess developer hub. Here you'll find comprehensive guides and documentation to help you start working with Targetprocess as quickly as possible and support you if you get stuck. Let's jump right in!

Docs

Include Tags into Output

Selector:

/api/v2/userstories?select={id:id,name:name,tags:tags}

Example of response:

"items": [
{
"id": 47,
"name": "UX Testing design concepts",
"tags": "tests"
},
{
"id": 18,
"name": "Mobile version'",
"tags": "tag1, tag2"
},
{
"id": 616,
"name": "Login",
"tags": "ab - c, abcdef, cd, e-f, two - words"
}
]
}

Filters for Tags

These filters are helpful when you set up a view with General entities (such as User Stories, Tasks, Bugs, Requests, Features, Epics, Releases, Sprints (Iterations), Projects etc.) and the assigned Tags they have.

Entity
Filter
Result

General

where=(TagObjects.Count==0)

Entities with no tags assigned

General

where=(TagObjects.Count>0)

Entities having at least one tag assigned

General

where=(TagObjects.Where(Name=='plugin').Count>0)

Entities with “plugin” tag. The tag should contain exactly this single word

General

where=(TagObjects.Where(Name=='plugin').Count==0)

Negative filter. Entities with no “plugin” tag.

It is also possible to filter parent entities by tags assigned to parent entities. Say you can show a feature if a parent epic of this feature has been tagged with a specific tag.

Entity
Filter
Result

Feature

where=(Epic.TagObjects.Where(Name=='plugin').Count>0)

Features that are parts of Epics with “plugin” tag