Quantcast
Channel: YouTrackYouTrack (JT) - Bug and Issue Tracker
Viewing all 74845 articles
Browse latest View live

JT-50633: Avoid scrolling in fields panel

$
0
0
Reporter Egor Ushakov (egor) Egor Ushakov (egor)
Created Nov 30, 2018 8:13:57 PM
Updated Dec 6, 2018 6:58:01 PM
State Open
Assignee Alexander Anisimov (xi-eye)
Subsystem Single Issue View
Type Usability Problem
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown
Often the fields panel requires scrolling even if there's enough space on the screen.

JT-48060: Add time tracking notifications feature to What's New

$
0
0
Reporter Scott Adams (Scott.Adams) Scott Adams (Scott.Adams)
Created Jul 5, 2018 12:19:23 PM
Updated Dec 6, 2018 7:03:05 PM
Resolved Sep 29, 2018 1:03:56 PM
State Verified
Assignee Pavel Nikolaev (pasha)
Subsystem Notifications
Type Task
Priority Normal
Fix versions 2018.3.46358

Separate Notifications for Time Tracking Events

We split notification events for spent time into its own category. This lets you disable notifications for time tracking events without unsubscribing from notifications for other important changes. Read more.

Link target: Notifications.html#subscription-events

JT-50705: Can't establish "subtask""parent" connection between issues from different projects (earlier it was possible)

$
0
0
Reporter Edward Pavlov (ed.pavlov) Edward Pavlov (ed.pavlov)
Created Dec 6, 2018 6:56:17 PM
Updated Dec 6, 2018 7:04:32 PM
State Submitted
Assignee Unassigned
Subsystem No Subsystem
Type Bug
Priority Major
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown


JT-45037: Create Due Dates Calendar Widget

$
0
0
Reporter Valerie Andrianova (valerie.andrianova) Valerie Andrianova (valerie.andrianova)
Created Dec 26, 2017 3:47:01 PM
Updated Dec 6, 2018 7:09:36 PM
State In Progress
Assignee Oleg Bakhirev (Oleg.Bakhirev)
Subsystem Dashboard & Widgets
Type Task
Priority Normal
Fix versions Unscheduled
Due Date Calendar widget shows the daily/weekly/monthly calendar with the days highlighted if you have assigned issues with this due date. When mouth over the date, the tooltip shows the issues summary (as links).

JT-50709: Youtrack internal Exception during custom worklow (Can't get url for an issue that is not reported)

$
0
0
Reporter Georg Ursits (gursits) Georg Ursits (gursits)
Created Dec 6, 2018 7:09:32 PM
Updated Dec 6, 2018 7:10:19 PM
State Submitted
Assignee Unassigned
Subsystem No Subsystem
Type Bug
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

What steps will reproduce the problem?

  1. create a custom "On-change" workflow attached to any project of choice
  2. make use of the an issue in the context (ctx variable) during the action of the workflow
  3. create a new issue with the "New Issue" link outside of an agile baord within the project the workflow is attached to

What is the expected result?

when executing an action during the image creation process that should trigger the workflow (or its action handler) the action: function executes

What happens instead?

the following stacktrace is triggered and shows on the workflow's console only + the applied change on the ticket does not happen

Processing issue Draft:
Can't get url for an issue that is not reported
             jetbrains.charisma.persistent.IssueImpl.getUrl(IssueImpl.java:758)
            sun.reflect.GeneratedMethodAccessor2197.invoke(Unknown Source)
            sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            java.lang.reflect.Method.invoke(Method.java:498)
            jetbrains.youtrack.scripts.wrappers.PersistentEntityWrapper.invoke(PersistentEntityWrapper.java:442)
            jetbrains.youtrack.scripts.wrappers.PersistentEntityWrapper.invoke(PersistentEntityWrapper.java:129)
            sun.reflect.GeneratedMethodAccessor2295.invoke(Unknown Source)
            sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            java.lang.reflect.Method.invoke(Method.java:498)
            org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
            org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
            org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
            org.mozilla.javascript.gen.initialscript_js_1851._c_anonymous_14(initialscript.js:108)
            org.mozilla.javascript.gen.initialscript_js_1851.call(initialscript.js)
            org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
            org.mozilla.javascript.gen._jetbrains_youtrack_scripting_api_entities_1855._c_anonymous_47(@jetbrains/youtrack-scripting-api/entities:284)
            org.mozilla.javascript.gen._jetbrains_youtrack_scripting_api_entities_1855.call(@jetbrains/youtrack-scripting-api/entities)
            org.mozilla.javascript.ScriptableObject$GetterSlot.getValue(ScriptableObject.java:334)
            org.mozilla.javascript.ScriptableObject.get(ScriptableObject.java:452)
            org.mozilla.javascript.IdScriptableObject.get(IdScriptableObject.java:396)
            org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:2313)
            org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1579)
            org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1572)
            org.mozilla.javascript.gen._jetbrains_youtrack_workflow_slack_notifications_simple_send_to_slack_1852._c_anonymous_2(@jetbrains/youtrack-workflow-slack-notifications-simple/send-to-slack:22)
            org.mozilla.javascript.gen._jetbrains_youtrack_workflow_slack_notifications_simple_send_to_slack_1852.call(@jetbrains/youtrack-workflow-slack-notifications-simple/send-to-slack)
            org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
            org.mozilla.javascript.gen._execution_ctx__1867._c_anonymous_6(_execution_ctx_:88)
            org.mozilla.javascript.gen._execution_ctx__1867.call(_execution_ctx_)
            org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:405)
            org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3508)
            org.mozilla.javascript.gen._execution_ctx__1867.call(_execution_ctx_)

Please provide any additional information below.
Attach a code sample as text, a screenshot or screencast if possible

what we're trying to implement is a slackpusher, please find the code attached below. if i comment out lines 20-83 then the workflow executes without throwing the exception above, as soon as i make use of ctx at all within action() above exception is thrown when the workflow runs

Note: as I'm not the original author of the webhook, just modified and adapted it i left the original comment + link to its source in to pay Kudos to the original author and not claim any rights/ownership/etc

// Thanks to Michael Rush for the original version of this rule (https://software-development.dfstudio.com/youtracks-new-javascript-workflows-make-slack-integration-a-breeze-d3275605d565)

// IMPORTANT: Use a valid Incoming Webhook from Slack. To get one, go to https://my.slack.com/services/new/incoming-webhook/
var SLACK_WEBHOOK_URL = '<SLACK_WENHOOK_URL_HERE>';
var target_priorities = [
  'Show-stopper',
  'Critical'
];

var entities = require('@jetbrains/youtrack-scripting-api/entities');
var http = require('@jetbrains/youtrack-scripting-api/http');
var workflow = require('@jetbrains/youtrack-scripting-api/workflow');

exports.rule = entities.Issue.onChange({
  title: workflow.i18n('Send notification to slack when an issue is reported, resolved, or reopened'),
  guard: function(ctx) {
    return (ctx.issue.becomesReported || ctx.issue.becomesResolved || ctx.issue.becomesUnresolved || ctx.issue.fields.oldValue(ctx.Priority) && ctx.issue.fields.Priority.name !== ctx.issue.fields.oldValue(ctx.Priority).name) && target_priorities.indexOf(ctx.issue.Priority.name) !== -1;
  },
  action: function(ctx) {
    var issue = ctx.issue;
    
    var issueLink = '<' + issue.url + "|" + issue.id + '>';
    var message, isNew;

    if (issue.becomesReported) {
      message = "Created: ";
      isNew = true;
    } else if (issue.becomesResolved) {
      message = "Resolved: ";
      isNew = false;
    } else if (issue.becomesUnresolved) {
      message = "Reopened: ";
      isNew = false;
    } else message = '';
    message += "\"" + issue.summary + "\"";

    var changedByTitle = '',
      changedByName = '';

    if (isNew) {
      changedByTitle = "Created By";
      changedByName = issue.reporter.fullName;
    } else {
      changedByTitle = "Updated By";
      changedByName = issue.updatedBy.fullName;
    }

    var payload = {
      "attachments": [{
        "fallback": message + " (" + issueLink + ")",
        "pretext": message + " (" + issueLink + ")",
        "color": issue.fields.Priority.backgroundColor || "#edb431",
        "fields": [
          {
            "title": "Stage",
            "value": issue.fields.Stage.name,
            "short": true
          },
          {
            "title": "State",
            "value": issue.fields.State.name,
            "short": true
          },
          {
            "title": "Priority",
            "value": issue.fields.Priority.name,
            "short": true
          },
          {
            "title": "Assignee" + " / " + changedByTitle,
            "value": (issue.fields.Assignee ? issue.fields.Assignee.fullName : '') + " / " + changedByName,
            "short": true
          }
        ]
      }]
    };

    var connection = new http.Connection(SLACK_WEBHOOK_URL, null, 2000);
    var response = connection.postSync('', null, JSON.stringify(payload));
    if (!response.isSuccess) {
      console.warn('Failed to post notification to Slack. Details: ' + response.toString());
    }
    /**/
  },
  requirements: {
    Priority: {
      type: entities.EnumField.fieldType
    },
    State: {
      type: entities.State.fieldType
    },
    Assignee: {
      type: entities.User.fieldType
    }
  }
});

JT-50708: Unknown command: project

$
0
0
Reporter Gutek Bzinkowski (gbzinkowski) Gutek Bzinkowski (gbzinkowski)
Created Dec 6, 2018 7:01:08 PM
Updated Dec 6, 2018 7:17:23 PM
State Open
Assignee Anastasia Bartasheva (ana.bartasheva)
Subsystem Deprecated REST API
Type Support Request
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions 2018.3.46581

What steps will reproduce the problem?

  1. Send post request with command "project <Project Name>" in order to move an issue to diffrent project
  2. In response I get code 400 bad request with message "Command [project <Project Name>] is invalid:Unknown command: Unknown command: project <Project Name>"

What is the expected result?

Move an issue to another project

What happens instead?

I get error 400 bad request

Please provide any additional information below.

When I try to apply a command on youtrack platform it's ok and project field is updated, but when I try to send the request to the API (https://www.jetbrains.com/help/youtrack/standalone/Apply-Command-to-an-Issue.html) with the same command I get the error. When I try to send a request and update another custom field, I get response code 200 and the custom field gets updated, but commands like project or move to (as stated in documentation: https://www.jetbrains.com/help/youtrack/standalone/Command-Reference.html) are not working while applying via API.

JT-5955: Command Window: After a Command for Moving to Another Project, Suggest Values for That Project

$
0
0
Reporter Serge Baltic (baltic) Serge Baltic (baltic)
Created May 4, 2010 8:42:40 PM
Updated Dec 6, 2018 7:22:49 PM
State Open
Assignee Evgeny Naumenko (jk)
Subsystem Commands
Type Feature
Priority Normal
Fix versions Unscheduled
The scenario is collecting platform-related issues from different projects (ReSharper, DotTrace, etc) into the Platform project. I'd like to move the issue and set up its properties like tags, versions, etc.

It is not possible to set the version within the same command because the command context fails to apply to the correct project.

Example:
An issue from a non-NP project.
Command: "NP 1.1 (DotTrace 4.0)".

Actual:

Command Preview:

1.Move to project NP
2.unknown command: 1.1 (
3.Move to project dotTrace
4.unknown command: 4.0)

Expected:

Command Preview:

1.Move to project NP
2.Set fix version 1.1 (DotTrace 4.0)

JT-50710: Rename “Project lead” to “Project owner”

$
0
0
Reporter Max Maximov (Maxim.Maximov) Max Maximov (Maxim.Maximov)
Created Dec 6, 2018 7:56:29 PM
Updated Dec 6, 2018 7:58:17 PM
Resolved Dec 6, 2018 7:58:17 PM
State Fixed
Assignee Max Maximov (Maxim.Maximov)
Subsystem Projects
Type Task
Priority Normal
Fix versions Unscheduled

JT-50569: Implement `api/sortedIssues` endpoint

$
0
0
Reporter Alexander Anisimov (xi-eye) Alexander Anisimov (xi-eye)
Created Nov 28, 2018 6:26:50 PM
Updated Dec 6, 2018 8:20:41 PM
Resolved Nov 30, 2018 4:35:14 PM
State Fixed
Assignee Leonid Stryuk (Leonid.Stryuk)
Subsystem No Subsystem
Type Task
Priority Normal
Fix versions Unscheduled

api/sortedIssues?query='XX'&folderId=contextFolderId&flatten

should returns
{
numberOfOrdered: int,
count: int,
tree: [ {id, parentId, matches} ]
}

JT-50711: Implement "flatten" for "api/sortedIssues"

$
0
0
Reporter Maksim Ryzhikov (maksimrv) Maksim Ryzhikov (maksimrv)
Created Dec 6, 2018 8:20:34 PM
Updated Dec 6, 2018 8:20:41 PM
State Open
Assignee Unassigned
Subsystem Issue List
Type Task
Priority Normal
Fix versions Unscheduled

JT-50712: "api/sortedIssues" with flatten=true returns unsorted issues

$
0
0
Reporter Maksim Ryzhikov (maksimrv) Maksim Ryzhikov (maksimrv)
Created Dec 6, 2018 8:25:47 PM
Updated Dec 6, 2018 8:32:17 PM
State Open
Assignee Unassigned
Subsystem Issue List
Type Bug
Priority Major
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

STR:

  • Open new issues list
  • Select a context (for example "Star")
  • Unselect [Tree view]
  • Change order of an issue
  • Reload page

JT-50715: Print view issues

$
0
0
Reporter Evgeny Naumenko (jk) Evgeny Naumenko (jk)
Created Dec 6, 2018 8:50:04 PM
Updated Dec 6, 2018 8:51:59 PM
State Open
Assignee Unassigned
Subsystem Single Issue View
Type Cosmetics
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

  1. Back to search icon is not hidden
  2. Custom fields block has a scroll bar
  3. Link hover is not disabled
  4. Vote count is shown as a cryptic number with no associated icon
  5. Delete issue link icon is not hidden

JT-50714: Total time is not changed after manual recalculation

$
0
0
Reporter Ekaterina Alekseeva (Ekaterina.Alekseeva) Ekaterina Alekseeva (Ekaterina.Alekseeva)
Created Dec 6, 2018 8:47:45 PM
Updated Dec 6, 2018 9:03:43 PM
State Open
Assignee Unassigned
Subsystem Reports
Type Bug
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

build 47846

STR:

  1. Create time sheet report
  2. Go to some issue from this report and change its spent time
  3. Go to report and click "recalculate"

AR:
Total time is not changed. Refreshing page helps

JT-50647: Do not show links to project on Projects list page

$
0
0
Reporter Alexander Buturlinov (alexander.buturlinov) Alexander Buturlinov (alexander.buturlinov)
Created Dec 3, 2018 6:07:38 PM
Updated Dec 6, 2018 9:26:33 PM
Resolved Dec 6, 2018 9:26:33 PM
State Fixed
Assignee Max Maximov (Maxim.Maximov)
Subsystem Projects
Type Bug
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

STR:

  1. Log in as guest
  2. Go to projects page

ER: There are no links to projects page as they are useless because guest has no access to it
AR: the links are there

JT-50716: Column with totals overlaps the sticky toolbar in timesheet report

$
0
0
Reporter Ekaterina Alekseeva (Ekaterina.Alekseeva) Ekaterina Alekseeva (Ekaterina.Alekseeva)
Created Dec 6, 2018 9:04:56 PM
Updated Dec 6, 2018 9:30:29 PM
State In Progress
Assignee Ekaterina Zaikina (Ekaterina_Zaikina)
Subsystem Reports
Type Bug
Priority Normal
Browser Firefox
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

build 47846


JT-50717: "Can't submit incorrect command" when Cloning an Issue

$
0
0
Reporter Jeff Fritz (jsfritz2) Jeff Fritz (jsfritz2)
Created Dec 6, 2018 10:08:20 PM
Updated Dec 6, 2018 10:27:48 PM
State Open
Assignee Unassigned
Subsystem Workflow
Type Bug
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions 2018.2.42133

What steps will reproduce the problem?

  1. Go to any issue's detailed page
  2. Clone the issue using the command dialog menu.

What is the expected result?
The issue is cloned.

What happens instead?
Error message: "Can't submit incorrect command."

Please provide any additional information below.

  • This happens across many users, many projects, many issues, and the workflow is attached to those projects.
  • I've tried removing and re attaching the clone issue workflow, still doesn't work.
  • If using the command dialog, the clone command is listed as an unrecognized command.
  • I'm using Build 42133 31 May 2018 00:00
  • The workflow from my installation is below, for reference:
var workflow = require('@jetbrains/youtrack-scripting-api/workflow');
var entities = require('@jetbrains/youtrack-scripting-api/entities');

exports.rule = entities.Issue.action({
  title: workflow.i18n('Clone Issue'),
  command: workflow.i18n('clone'),
  guard: function(ctx) {
    return ctx.issue.isReported;
  },
  action: function (ctx) {
    var newIssue = ctx.issue.createCopy(); // WARNING! Do not use this method in your workflows. Use Issue#copy() instead
    workflow.message(workflow.i18n('A clone of the current issue has been created: <a href="{0}">{1}</a>', newIssue.url, newIssue.id));
  }
});

JT-50718: Time report: null estimation for issues

$
0
0
Reporter Ekaterina Alekseeva (Ekaterina.Alekseeva) Ekaterina Alekseeva (Ekaterina.Alekseeva)
Created Dec 6, 2018 11:30:50 PM
Updated Dec 6, 2018 11:30:50 PM
State Open
Assignee Unassigned
Subsystem Reports
Type Bug
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

build 47846

STR:
Create time report and open it in "per issue" view

AR:
Total estimation calculated correctly, but for each issue there's "00m" instead of actual value

JT-50713: Full screen issue search panel is out of bound in case of a long search query

$
0
0
Reporter Anastasia Bartasheva (ana.bartasheva) Anastasia Bartasheva (ana.bartasheva)
Created Dec 6, 2018 8:35:00 PM
Updated Dec 6, 2018 11:36:12 PM
State Open
Assignee Alexander Anisimov (xi-eye)
Subsystem Single Issue View
Type Bug
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions 2018.3.47247

It is very inconvenient to scroll the page to the right to switch between issues.
See attached

JT-50719: Timesheet report: calculation of report with a huge amount of issues is very slow

$
0
0
Reporter Ekaterina Alekseeva (Ekaterina.Alekseeva) Ekaterina Alekseeva (Ekaterina.Alekseeva)
Created Dec 6, 2018 11:38:13 PM
Updated Dec 6, 2018 11:38:35 PM
State Open
Assignee Alexey Volkov (Alexey.Volkov)
Subsystem Reports
Type Performance Problem
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

build 47846

STR:
Create timesheet report with a huge amount of issues and try to calculate it.
For example, see http://youtrack-development.labs.intellij.net/reports/timeSheet/317-3, which is created for all projects for 8 years (all settings are shown in attached screenshot)

AR:
Reports calculation is very slow.

JT-50656: handle situation for too much data

$
0
0
Reporter Alexey Volkov (Alexey.Volkov) Alexey Volkov (Alexey.Volkov)
Created Dec 4, 2018 1:03:19 PM
Updated Dec 6, 2018 11:45:31 PM
Resolved Dec 4, 2018 1:28:00 PM
State Verified
Assignee Alexey Volkov (Alexey.Volkov)
Subsystem Reports
Type Task
Priority Normal
Fix versions Unscheduled
Viewing all 74845 articles
Browse latest View live




Latest Images