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!
Hi, I want to connect to TP with a cloud datawarehouse to retrieve data from the API From the cloud data integration connection I insert the following fields for the initial authentication URL : http://my.tpondemand.com/ User : MyUser Pwd : MyPassword Root Path : Leave Balnk I have added the certificate from my.tpondemond.com and whitelisted the IP address by using the IP found after pinging mytpondemand.com I tested on my local PC with python to connect and it works when i use an access token https://my.tpondemand.com/api/v2/UserStories?format=json&access_token=xxxxxxxxxxhBQk1rRXNUNDZxS0NhbTBtK1pKaFFHV2M9 I also tested with success Excel connecting to web source https://my.tpondemand.com and giving the my username and password. What am I missing to connect my cloud data warehouse to TP via the API????
Posted by Christopher Buck 15 days ago
I need to upload in bulk a lot of "Teams" to "Agile Release Trains" and therefore I would like to use a POST (I'm using Postman) request via JSON but I have difficulties writing the JSON code to add a "Team" as I suppose it's due to the fact it is an Array
Posted by Lieven Van Steenkiste 2 months ago
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.
Posted by Annelies Geusens 3 months ago
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]>>
Posted by Sophiane kadem 4 months ago
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 ?
Posted by Sudheer Konikal 4 months ago
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,...?
Posted by Waleed Mohamed 9 months ago
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?
Posted by Art 10 months ago
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?
Posted by José Prada 10 months ago
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?
Posted by László Bácsi 11 months ago
I am trying to run a query that will tell me the effort for each individual assigned to a user story or task. For example, I have a user story and have assigned a developer and a qa person. I want to know the amount of effort for each. I can get the Role and the GeneralUser but I can't figure out how to get the assigned effort. I can get the total effort but that is not what I need as I need to cost based on the role or individual.
Posted by Steve Russell about a year ago
Sorry, I'm new to TP and so this may be an obvious answer but here goes: I'm creating a List for ARTs and Teams. When I go to select Users as the third tier card it isn't available to select, only a few objects are able to be picked. Am I missing a way to make Users the third tier or is there a reason it isn't selectable? Thank you in advance.
Posted by Tad Beaty about a year ago
I am trying to update a custom field. I can successfully do it on a request with the following call: https://kofile.tpondemand.com/api/v1/Requests/" + TPid + token, options) where the TPid is the id, and the options is as follows: var payload = { "CustomFields" : [{'Name': "Notes", 'Value': Note}] }; var options = { 'method': 'POST', 'payload': JSON.stringify(payload), 'contentType' : 'application/json', }; Notes is the custom field. I want to be able to make the same update to bugs and userstories. I tried Assignables and UserStories in place of requests and neither will work. I was hoping that Assignables would work for requests, bugs and user stories. Thanks
Posted by Steve Russell about a year ago
I would like to modify my company's Scrum process for my team and am looking at the instructions to modify the Customize Entity Detailed View. I've created a process for my team, but do not see it in the process dropdown; there are only 4 processes listed there although I see 14 distinct processes in the Settings. I've been switching back and forth between my process and one of the non-default processes that is shown in the dropdown to see if I can identify a setting that would make my process show up in that dropdown, but don't see anything that might do it. Have I overlooked something? What do I need to set to get the process that I want to modify visible in the process dropdown so that I change the view for my team and not the entire company? Thanks for your help!
Posted by Peter Degen-Portnoy about a year ago
I am creating a view where I can see what my team is creating. Specifically I am looking for items that aren't assigned to a team, as those tend to get overlooked, so I want my team to easily see when they have missed this step. I've created a list with Owner as my first hierarchy, and team as my second level. For Team, the filter was easy "it is none" but for owner, I don't know how to filter for owners who are members of a team. Is this possible? I currently have it filtered by id, but I really don't want to have to update this view anytime anyone leave or joins my team.
Posted by Jennifer Dieckman about a year ago