Discussion

Ask a Question
ANSWERED

Filter (in list view) with reference to parent

Hi, I would like to make list with all user stories were the Team that is assigned on User Story level is not assigned to the Feature of the User Story. I tried a DSL filter like this, but I don't find the correct syntax: ?Feature.AssignedTeams.Where(Team.Id is in "The collection of Teams assigned to the User Story") is false. As we have only one Team assigned on User Story, it could also be something like ?Not Feature.AssignedTeams.Where(Team.Id is "This UserStory.ResponsibleTeam.id") is false.
ANSWERED

How to update the test results in the test run using api ?

I want to update the test steps using api based on the test step result(passed/failed) Is it possible , if yes, how to test that using Postman ?
ANSWERED

How can i connect to api target process with python langage

Hello, I have a request , i try to connect with python and i'm using the requests library . But i have a bad request Can you help me please ? My script : import requests hostname = 'http://bedrock.tpondemand.com/' authenticationToken = 'NTY1OnN0Vzg5S1VVSHRGNndyeVkwM3Z6enNEbnU0YjdBNVc4UUdvNjhPKzN3M1E9' isTokenSetFromUserProfileTab = True takeCount = 10 entityTypeResourceName = 'userstories' filter = '' includeFields = '' headers = { 'content-type' : 'application/json', 'token': authenticationToken } dataUrl = f'{hostname}api/v1/{entityTypeResourceName}' print(dataUrl) r = requests.get(dataUrl, headers=headers) print(r.json) //////// Response <bound method Response.json of <Response [401]>>
ANSWERED

User management automation process details required

i was exploring the target process tool and I have few Queries on User management automation process. Currently I can see manual method offered to add new users to the tool, but like to know what method you offer to get this automated ?
ANSWERED

How do I pull the last 30 days of deletions of time entries, UserStories, Bugs and Tasks

How do I pull the last 30 days of deletions of time entries, UserStories, Bugs and Tasks
ANSWERED

How can I see the API external calls?

I'm calling the TP REST API from an external system that I can't debug. Is there any way to see the API logs?
ANSWERED

Customize the UI of user story or task template

we are using Target process version "3.8.7.25492" and we are looking into its template customization options , we need to do basic stuff like to add new tabs or remove tabs from the user story template for example let's say we need to hide the "source code" tab from user stories , I cam across "Customize Entity Detailed View" in documentation "https://dev.targetprocess.com/docs/detailed-views-1" but I can't see these options in my version of TP. anyone knows which version starts to support "Customize Entity Detailed View" ? and for my version what can I do to customize the UI or user story,task,...?
ANSWERED

Filtering by tags in the script.google.com

Here https://dev.targetprocess.com/docs/google-apps-script at the very and of the page is provided example for filtering by date var filter = '(\'CustomFields.Next Date\' gte \'2017-01-09\') and (\'CustomFields.Next Date\' lte \'2017-01-16\')';, but I need filter by tags. Here https://dev.targetprocess.com/docs/sorting-and-filters is also present example of API for filtering by tags - /api/v1/userstories?where=(Tags contains 'abc') How I apply it for filtering by tags via google apps script?
ANSWERED

Update UserStory Error 500

Hi. I'm trying to update a UserStory and I'm getting this error message: Status code: 500 {"Status":"InternalServerError","Message":"Oops... Something's wrong.","Type":"Presentational","Details":{"Items":[{"Type":"Resolvable","Message":{"Token":"Oops... Something's wrong.","Data":{},"Value":"Oops... Something's wrong."},"Resolution":{"Type":"ContactSupport"}}]},"ErrorId":"c336ee09-7a6c-427a-a63a-96ae7de5a52c"} This is the data I'm posting: query: "https://csantosvp.tpondemand.com/api/v1/UserStories?access_token=****************************=&format=json" body: {'Project':{'Id': 5548},'Effort': 22,'EffortToDo': 22,'TimeRemain': 22,'Id': 5778} What am I doing wrong?
ANSWERED

Querying and updating Assignable substates

We are using SubEntityStates in our workflow that looks something like this (substates in brackets): Backlog -> Ready -> Development [In Dev -> Code Review -> Dev Done] -> Testing [...] -> Done [Accepted, LIVE, ...] I'm building internal integration that uses the targetprocess REST API v1 to (among other things) query and update entity states. I can already achieve these for the parent states, but I can't find the current substate of an Assignable in the API response and trying to update the EntityState to a substate returns with an error. For example, I have a UserStory that shows on the web interface to be in "In Dev" state, but the EntityState returned by the API is "Development" (the parent state). When I try to update EntityState to "Code Review" this is what I get: ``` POST /Assignable/60091 {"EntityState": {"Id": 2961}} { "Status": "BadRequest", "Message": "Invalid entity state 'Code Review' for UserStory.", "Type": "Presentational", "Details": { "Items": [ { "Type": "BrokenRule", "FieldPath": { "EntityKind": "UserStory", "Column": "EntityState" }, "Message": { "Token": "Invalid entity state '{entityStateName}' for {entityKind}.", "Data": { "entityStateName": "Code Review", "entityKind": "UserStory" }, "Value": "Invalid entity state 'Code Review' for UserStory." }, "Details": null, "Resolution": null } ] }, "ErrorId": "067dd05f-9adf-42db-94e6-d999bdd90cc0" } ``` Am I missing something or is this not supported by the current APIs?