43 questions
0
votes
1
answer
39
views
When creating a new YouTrack issue, how do I link it to a parent issue at the same time?
When creating a YouTrack issue using the REST API, how can I also link it to a parent issue at the same time? I don't want to make multiple requests. The YouTrack docs show a parent attribute, but no ...
0
votes
0
answers
47
views
YouTrack change Assignee with the Host API
I have this code that should change the issues of the assignee to another assignee that I selected before.
const changeIssues = async (oldAssignee: User, changeAssignee: User) => {
...
0
votes
1
answer
293
views
YouTrack API how to retrieve activity data regarding custom field value changes?
I'm using /api/issues/{issueID}/activities to try and view the past changes for the State field of issues on YouTrack.
I'm able to see the time changes were made and the user that made them, but when ...
1
vote
1
answer
891
views
How do I use the YouTrack API to retrieve all the selectable options or values available for each custom field in a specific project?
I need to have dropdown menus for each custom field that lists the available selectable values for each custom field, just like how it appears and works in YouTrack when you're on the page for an ...
0
votes
1
answer
629
views
YouTrack REST API, get issue history
I am trying get specific information about ticket activities.
I wanna know next things:
All assignee change events
All sprints change events
All story points change events
All status change events
I ...
1
vote
1
answer
1k
views
Is there a way in YouTrack to query for all linked issues where some attribute as a value?
In our YouTrack our epics has a field call Lead which is assigned to a user. Then subtasks of that epic are assigned to different people.
If I query #Lead: me it will show all epics that I am assigned,...
1
vote
1
answer
2k
views
Set custom field value in YouTrack custom workflow
I'm trying to automatically update an estimated issue duration using a numeric field called 'Estimate'.
I can access the start date and due date and take their difference in days (the intended ...
-2
votes
1
answer
643
views
How to get closed issues for current sprint youtrack rest api?
Help make a request to get a list of closed tasks for the current sprint.
For open such a request turned out
base_url/api/issues?query=%23resolved%20%23я&fields=summary,idReadable,customFields(...
0
votes
1
answer
2k
views
Youtrack Query : how to get issues where story point field was updated
I'd like to get all issues with a specific tag updated date with YouTrack Query, but I can't find a way to do this in the official doc : https://www.jetbrains.com/help/youtrack/standalone/Search-and-...
0
votes
1
answer
404
views
YouTrack - Historical issue snapshots
The new YouTrack API is missing the old Issue history /rest/issue/{issue}/history end-point which our code heavily depends on. There's only the Issue activities /api/issues/{issueID}/activities end-...
0
votes
1
answer
508
views
Is there a way to create a project via Youtrack API with a non-standard template?
I'm trying to create a new project with the Youtrack API. And now I want to create a project with a template that I've created by myself on Youtrack. The API have only "scrum" and "...
0
votes
1
answer
736
views
Why can't I access 'User story' as a type?
I have a (correctly working) workflow script starting with this guard function:
var entities = require('@jetbrains/youtrack-scripting-api/entities');
exports.rule = entities.Issue.action({
title: '...
1
vote
0
answers
572
views
Youtrack Rest API add attachments to comment
How add attachment to issues's comment wia Rest API?
I try this:
encoderrrr=MultipartEncoder(fields={
'file':('tets.jpg', open('./project/MAC/MAC-338/screenshot-1.png','rb'))
})
...
0
votes
1
answer
372
views
Workflow Error - One or More Projects require additional setup
I've created a workflow in YouTrack with one rule. However, on the Workflow screen, next to the name of my Workflow there is a box that says in red text, 'requires setup'. When I hover over this it ...
1
vote
1
answer
2k
views
Default text in description field of new issue in YouTrack
Can a template with default text be created when opening new issues in the online YouTrack ?
The standalone has this:
https://www.jetbrains.com/help/youtrack/standalone/Workflow-Default-Description....
3
votes
1
answer
2k
views
Exception when checking if an issue field becomes "In Progress" with workflow
My issue fields have a State and an option called In Progress
So I wrote a Youtrack Workflow that launches a http post to my discord channel when an issue becomes "In Progress".
Here is the ...
0
votes
1
answer
513
views
Convert global issue ID to project issue ID
When I query the API api/issues/ for issues with fields="id", I get back an array of issues similiar to this:
[
{ "id": "2-120" }
]
This works for further calls because 2-120 can be used in calls ...
0
votes
1
answer
1k
views
YouTrack REST API returns only subset of all users
Since version 2018.3, YouTrack has published a new API for administrating the system. One example of a new endpoint is /api/admin/users/ which is supposed to return the collection of users in the ...
-1
votes
1
answer
478
views
How do I access user notifications via REST in YouTrack?
I can't for the life of me find the documentation on how to access user notifications via the REST-API.
Everything is activated and allowed in the admin settings, but what is the correct url to fetch ...
0
votes
1
answer
98
views
Search YouTrack independant of installation language
I'm writing a tool, that fetches the issues on which a user has spent some time within the last week, and displays the spent time for each day and issue as a summary, so that the user knows, where he ...
0
votes
2
answers
3k
views
How to get all users by project on Youtrack rest api?
I can't get users by project or by filter on YouTrack REST API;
I wrote the following code:
var login = "mylogin";
var password = "mypassword";
(async function getAllUserByProject(login, password, ...
4
votes
0
answers
699
views
YouTrack REST API - assign user to task?
it is possible to assign a task to a user by YouTrack REST API? I did not find this information in the documentation.
Ok I found a solution: Apply Command to an Issue