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

JT-48989: YouTrack issues not marked as resolved

0
0
Reporter Hadi Hariri (hadihariri) Hadi Hariri (hadihariri)
Created Sep 3, 2018 7:42:10 AM
Updated Dec 15, 2018 8:35:27 PM
Resolved Dec 15, 2018 8:35:23 PM
State Without verification
Assignee Anastasia Bartasheva (ana.bartasheva)
Subsystem Custom Fields
Type Support Request
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

In the KPM project, when I mark an issue as Fixed, it doesn't show as resolved, and keeps appearing as open. I've checked Custom Fields and it shows I have a State field and the Fixed value is marked as "Resolved". See for instance KPM-6.


JT-50680: Cannot merge users because of UserSwimlaneSettings

0
0
Reporter Kirill Elagin (kirelagin) Kirill Elagin (kirelagin)
Created Dec 6, 2018 12:05:25 AM
Updated Dec 15, 2018 8:35:53 PM
Resolved Dec 15, 2018 8:35:48 PM
State Without verification
Assignee Anastasia Bartasheva (ana.bartasheva)
Subsystem No Subsystem
Type Support Request
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

We tried to merge two accounts and, apparently, they got merged on Hub, but not in YouTrack.
“Run diagnostics” form the “Hub Integration” settings doesn’t detect anything (although it used to in the beginning: it would propose a quickfix to restore the user on Hub, so we tried the merge/restore cycle a couple of times in the hope that it will eventually work, but it didn’t and got only worse).
The “Sync” button results in:

Dec 05 21:02:11 mars youtrack[16142]: 21:02:11,432 INFO  [@c_job_processor] [KLogging                      ] [] 11 user groups synchronized with Hub
Dec 05 21:02:11 mars youtrack[16142]: 21:02:11,443 INFO  [@c_job_processor] [KLogging                      ] [] 65 project teams synchronized with Hub
Dec 05 21:02:11 mars youtrack[16142]: 21:02:11,485 INFO  [@c_job_processor] [RefactoringUtil               ] [] 0 items processed
Dec 05 21:02:11 mars youtrack[16142]: 21:02:11,485 INFO  [@c_job_processor] [security                      ] [] user Ilya Lubimov (fersel) deleted
Dec 05 21:02:11 mars youtrack[16142]: 21:02:11,506 WARN  [@c_job_processor] [KLogging                      ] [] Can't sync user with Hub: Constrains validation exception. Causes:
Dec 05 21:02:11 mars youtrack[16142]:   1: Could not delete user "fersel", because it is referenced as: user for {UserSwimlaneSettings: id = 135-61};
Dec 05 21:02:11 mars youtrack[16142]: jetbrains.exodus.database.exceptions.ConstraintsValidationException: Constrains validation exception. Causes:
Dec 05 21:02:11 mars youtrack[16142]:   1: Could not delete user "fersel", because it is referenced as: user for {UserSwimlaneSettings: id = 135-61};
Dec 05 21:02:11 mars youtrack[16142]:         at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.checkBeforeSaveChangesConstraints(TransientSessionImpl.kt:505) ~[dnq-transient-store-1.2.386.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.flushChanges(TransientSessionImpl.kt:549) ~[dnq-transient-store-1.2.386.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.flush(TransientSessionImpl.kt:195) ~[dnq-transient-store-1.2.386.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.youtrack.core.legacy.LegacySupportKt.flush(LegacySupport.kt:37) ~[youtrack-core-2018.2.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.youtrack.ring.maintenance.SyncUsersWithHubJob$syncUsers$$inlined$transactional$1.invoke(LegacySupport.kt:49) [youtrack-ring-integration-2018.2.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.youtrack.ring.maintenance.SyncUsersWithHubJob$syncUsers$$inlined$transactional$1.invoke(LegacySupport.kt) [youtrack-ring-integration-2018.2.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at com.jetbrains.teamsys.dnq.database.TransientEntityStoreExt.transactional(TransientEntityStoreExt.kt:51) [dnq-transient-store-1.2.386.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at com.jetbrains.teamsys.dnq.database.TransientEntityStoreImpl.transactional(TransientEntityStoreImpl.kt:95) [dnq-transient-store-1.2.386.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.exodus.database.TransientEntityStore$DefaultImpls.transactional$default(TransientEntityStore.kt:84) [dnq-open-api-1.2.386.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.youtrack.ring.maintenance.SyncUsersWithHubJob.syncUsers(SyncUsersWithHubJob.kt:187) [youtrack-ring-integration-2018.2.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.youtrack.ring.maintenance.SyncUsersWithHubJob.loadAndSyncUsers(SyncUsersWithHubJob.kt:120) [youtrack-ring-integration-2018.2.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.youtrack.ring.maintenance.SyncUsersWithHubJob.run(SyncUsersWithHubJob.kt:40) [youtrack-ring-integration-2018.2.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.youtrack.ring.maintenance.HubIntegrationUserActionJob$executeAction$1.invoke(HubIntegrationUserActionJob.kt:38) [youtrack-ring-integration-2018.2.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.youtrack.ring.maintenance.HubIntegrationUserActionJob$executeAction$1.invoke(HubIntegrationUserActionJob.kt:10) [youtrack-ring-integration-2018.2.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.youtrack.ring.RingAuditLog.withActivity(RingAuditLog.kt:29) [youtrack-ring-integration-2018.2.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.youtrack.ring.maintenance.HubIntegrationUserActionJob.executeAction(HubIntegrationUserActionJob.kt:34) [youtrack-ring-integration-2018.2.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.charisma.persistent.UserActionJob.execute(UserActionJob.java:28) [charisma-app-2018.2.jar:?]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.exodus.core.execution.Job.run(Job.java:99) [xodus-utils-1.2.3456.jar:1.2.3456]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.exodus.core.execution.ThreadJobProcessor.executeJob(ThreadJobProcessor.java:133) [xodus-utils-1.2.3456.jar:1.2.3456]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doExecuteJob(JobProcessorQueueAdapter.java:243) [xodus-utils-1.2.3456.jar:1.2.3456]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doTimedJobs(JobProcessorQueueAdapter.java:195) [xodus-utils-1.2.3456.jar:1.2.3456]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doJobs(JobProcessorQueueAdapter.java:163) [xodus-utils-1.2.3456.jar:1.2.3456]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.exodus.core.execution.ThreadJobProcessor.run(ThreadJobProcessor.java:111) [xodus-utils-1.2.3456.jar:1.2.3456]
Dec 05 21:02:11 mars youtrack[16142]:         at jetbrains.exodus.core.execution.ThreadJobProcessor$1.run(ThreadJobProcessor.java:43) [xodus-utils-1.2.3456.jar:1.2.3456]
Dec 05 21:02:11 mars youtrack[16142]:         at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Dec 05 21:02:11 mars youtrack[16142]: 21:02:11,531 INFO  [@c_job_processor] [KLogging                      ] [] 83 users synced with Hub

Also, the user now cannot login. All they see is “Invalid request. Please try again or contact your administrator.” and in the log there is:

Dec 05 20:37:18 mars youtrack[16142]: 20:37:18,613 INFO  [@p1523601679-141] [RefactoringUtil               ] [guest@46.199.207.114] 0 items processed
Dec 05 20:37:18 mars youtrack[16142]: 20:37:18,613 INFO  [@p1523601679-141] [security                      ] [guest@46.199.207.114] user Ilya Lubimov (fersel) deleted

This is YouTrack 2018.2 build 45513.

JT-48703: Agile board not refreshing when issue.Status is changed from Workflow Rule and set to {In Progress}

0
0
Reporter kgorica (kgorica) kgorica (kgorica)
Created Aug 14, 2018 1:40:48 PM
Updated Dec 15, 2018 8:36:35 PM
Resolved Dec 15, 2018 8:36:30 PM
State Without verification
Assignee Anna Zhdan (Anna.Zhdan)
Subsystem Agile Board
Type Bug
Priority Normal
Browser Any Browser
OS Any OS
Fix versions 2018.3
Affected versions Unknown

What steps will reproduce the problem?

  1. Create a rule on issue status change and set the issue.Status field to {In progress}
  2. Attach the rule to a Scrum Agile Board
  3. Move an Issue to another column (ie change status) to meet the condition.

What is the expected result?
The Issue Status should change to "In Progress" and the issue should return to the "In progress" Column on the board
What happens instead?
The status changes to "In progress" but the issue card remains in the old column (not in the "In progress" column.

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

JT-48674: Unexpected root page type: -128

0
0
Reporter Exception Robot (app_exception) Exception Robot (app_exception)
Created Aug 11, 2018 3:59:01 PM
Updated Dec 15, 2018 8:37:14 PM
Resolved Dec 15, 2018 8:37:14 PM
State Obsolete
Assignee Vyacheslav Lukianov (hoegaarden)
Subsystem No Subsystem
Type Support Request
Priority Major
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions 2018.2
Original content visible to jetbrains team only for security reasons

JT-49136: Keyboard shortcut for Returning to the issue list doesn't work

0
0
Reporter mike_neck (mike-neck) mike_neck (mike-neck)
Created Sep 12, 2018 9:55:22 AM
Updated Dec 15, 2018 8:38:40 PM
Resolved Dec 15, 2018 8:38:40 PM
State Obsolete
Assignee Alexander Anisimov (xi-eye)
Subsystem Single Issue View
Type Bug
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown
What steps will reproduce the problem?
1. Search issues with some query.
2. Click an issue and open the single issue view.
3. Input ^ + Shift + , the keyboard shortcut for returning to the issue list.

What is the expected result?

The issues list with the query will be shown.

What happens instead?

Nothing happens.

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

JT-49397: How to tell if the current user is a "real" one or a system user?

0
0
Reporter Andrea Sciamanna (sciamannikoo) Andrea Sciamanna (sciamannikoo)
Created Sep 26, 2018 2:49:55 PM
Updated Dec 15, 2018 8:39:31 PM
Resolved Dec 15, 2018 8:39:31 PM
State Obsolete
Assignee Anastasia Bartasheva (ana.bartasheva)
Subsystem Workflow
Type Support Request
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions 2018.2.45513

I want to have three rules:

  1. One automatically updates a field on issues of a specific type whenever the issue is updated
  2. One does the same as above but is a scheduled rule
  3. One prevents users from manually changing this field, by using workflow.check

the first two rules already exist, while the third one doesn't exist yet.

I want to be sure that #3 does not get triggered when #1 or #2 are fired.

How can I do that?

JT-49765: Automatically add watch/star to the ticket you create

0
0
Reporter Mike B. (il.mikeb.live.com) Mike B. (il.mikeb.live.com)
Created Oct 16, 2018 9:15:58 AM
Updated Dec 15, 2018 8:41:10 PM
Resolved Dec 15, 2018 8:41:06 PM
State Without verification
Assignee Anastasia Bartasheva (ana.bartasheva)
Subsystem No Subsystem
Type Support Request
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions 2018.3.next, 2018.3

What steps will reproduce the issue?

  1. Create a ticket
  2. YouTrack will not set a watch/star by default to this ticket

What is the expected result?
YouTrack will set a watch/star by default to this ticket. Just like Monorails does.

What happens instead?
YouTrack doesn't set a watch/star by default to this ticket, even if it is a ticket created by you, and it's highly likely that you are interested to watch after this ticket. That means, you have to not forget to set it manually.

JT-49285: Reports - Burndown chart missing data

0
0
Reporter Jeremiah (Gafgarian) Jeremiah (Gafgarian)
Created Sep 19, 2018 6:30:50 PM
Updated Dec 15, 2018 8:41:44 PM
Resolved Dec 15, 2018 8:41:44 PM
State Obsolete
Assignee Liubov Dievskaia (Liubov.Dievskaia)
Subsystem Reports
Type Support Request
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

It appears that our burndown chart is not accurate. See attached screenshots. Unsure how to replicated but as you can see from the attached screenshots, our agile board is showing that all the Estimations and Spent Time values should be a match but they do not appear that way on the Burn Down report. After some digging, it looks like only one of the User Story time tracking is being aggregated for the burn down report. The other 4 user story timings appear to be ignored completely. Please advise.


JT-49438: некорректный поиск

0
0
Reporter Михаил Захаров (Михаил.Захаров) Михаил Захаров (Михаил.Захаров)
Created Sep 28, 2018 2:42:06 PM
Updated Dec 15, 2018 8:42:16 PM
Resolved Dec 15, 2018 8:42:16 PM
State Obsolete
Assignee Anastasia Bartasheva (ana.bartasheva)
Subsystem Search
Type Support Request
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown
выполняется поиск пользователем 1:

точно такой же поиск выполняется пользователем 2

при этом пользователь 2 видит все задачи проекта - видимость задач проекта ничем не ограничивается
(количество увеличилось - создали новую задачу)
Видимость комментариев не меняется при комментировании - остается Как для задачи

Баг-трекер от JetBrains YouTrack 2018.1 stand alone
Сборка 41826 чт, 17 мая 2018 г., 12:35:59 UTC

Что сделать, чтобы поиск работал корректно?

JT-47361: Card does not appears when going to it's direct link (Agile Boards)

0
0
Reporter Aleksandr Krotov (gloomyday.1) Aleksandr Krotov (gloomyday.1)
Created May 25, 2018 6:13:15 PM
Updated Dec 15, 2018 8:43:13 PM
Resolved Dec 15, 2018 8:43:10 PM
State Without verification
Assignee Anastasia Bartasheva (ana.bartasheva)
Subsystem Agile Board
Type Bug
Priority Normal
Browser Chrome, Firefox
OS Mac OS X, Windows 10
Fix versions Unscheduled
Affected versions 2018.1

What steps will reproduce the problem?

  1. Open some card in Agile Board
  2. Copy it's url
    3.Try to open it in new tab

What is the expected result?
Card in agile board
What happens instead?
Only agile board and all cards

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

JT-49088: Unable to create new sprints - error unique values

0
0
Reporter Diego Bustamante (diegohb) Diego Bustamante (diegohb)
Created Sep 9, 2018 5:22:20 PM
Updated Dec 15, 2018 8:43:24 PM
Resolved Dec 15, 2018 8:43:24 PM
State Obsolete
Assignee Anastasia Bartasheva (ana.bartasheva)
Subsystem No Subsystem
Type Support Request
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions 2018.2.45146
What steps will reproduce the problem?
1. Create new sprint
2. Enter values as screenshot

What is the expected result?
New sprint added.

What happens instead?
Error per screenshot.

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

JT-50136: Unable to edit the previous issue's time in the project

0
0
Reporter Neebal IT (it) Neebal IT (it)
Created Nov 2, 2018 8:42:38 AM
Updated Dec 15, 2018 8:46:46 PM
Resolved Dec 15, 2018 8:46:44 PM
State Without verification
Assignee Anastasia Bartasheva (ana.bartasheva)
Subsystem No Subsystem
Type Support Request
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

What steps will reproduce the problem?
1.Go to project
2.Click on to "load more" go previous issue
3.Unable to load previous issues.

What is the expected result?
Load Previous issues
What happens instead?
Show the same page.

Refer the screenshot

JT-50459: Attachment made with iphone SX Max

0
0
Reporter Anton shwieps (krendeli) Anton shwieps (krendeli)
Created Nov 23, 2018 3:24:44 PM
Updated Dec 15, 2018 8:47:06 PM
Resolved Dec 15, 2018 8:47:06 PM
State Obsolete
Assignee Alexander Anisimov (xi-eye)
Subsystem Mobile UI
Type Bug
Priority Normal
Browser Any Browser
OS iPhone OS
Fix versions Unscheduled
Affected versions Unknown

What steps will reproduce the problem?
1.Take screenshot with iphone SX max
2. attach to card from mobile client
3.save card
4. Open it and try to preview attachment

What is the expected result?
i should see the bottom side of screen
What happens instead?
Bottom side is unavaiable
Look at me

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

JT-50432: Agile board and create new card on it

0
0
Reporter Anton shwieps (krendeli) Anton shwieps (krendeli)
Created Nov 22, 2018 1:35:14 PM
Updated Dec 15, 2018 8:47:27 PM
Resolved Dec 15, 2018 8:47:27 PM
State Obsolete
Assignee Liubov Dievskaia (Liubov.Dievskaia)
Subsystem No Subsystem
Type Support Request
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

What steps will reproduce the problem?
1.open backlog section on agile board
2. Tap Create issue
3. Fill the title
4.set up estimation time
5.assign yourself to card
6.Create issue

What is the expected result?
estimation time should be the same
assign person should be You

What happens instead?
estimation time that was indicate in card for example it was 40m after saving displayed as 8d or something else
assigne person is empty most of cases
Please provide any additional information below.
Attach a code sample as text, a screenshot or screencast if possible

JT-49621: Stack in JetBrains YouTrack 2018.2 is warming up...

0
0
Reporter Jose Luis (luison) Jose Luis (luison)
Created Oct 9, 2018 12:40:18 PM
Updated Dec 15, 2018 8:51:03 PM
Resolved Dec 15, 2018 8:51:03 PM
State Obsolete
Assignee Anastasia Bartasheva (ana.bartasheva)
Subsystem No Subsystem
Type Support Request
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown
What steps will reproduce the problem?
1. Since we updated to 2018 we have intermittent issues with YT start
2. Service running, web access stack in "JetBrains YouTrack 2018.2 is warming up..."
3. Even if we try to manually stop and restart the service the issue remains, sometimes get sorted after a long wait

What is the expected result?
Normal start

What happens instead?
Stack in "JetBrains YouTrack 2018.2 is warming up..."
![](image.png)

YT is running on a virtual server (KVM) running Windows 7

We see an error related to :
[2018-10-09 10:54:11,470] [YouTrack Error] [2018-10-09 10:54:10,610] ERROR - bundle.proxy.jetty.BundleProxy - Could not stop Jetty

When we manually stop the service we also see on the logs:
[2018-10-09 10:54:16,400] [YouTrack Error] [2018-10-09 10:54:16,392] WARN - om.jetbrains.bundle.BundleMain - Some services failed to stop: Some services could not be stopped: Starting Page Service, Bundle Backend Service
[2018-10-09 10:54:16,400] [YouTrack Error] com.jetbrains.service.util.StatusException: Some services could not be stopped: Starting Page Service, Bundle Backend Service


I attach 2 logs .

JT-50278: TestRail YouTrack plugin bug with YouTrack 2018.2

0
0
Reporter Vu Tran (vu.tran) Vu Tran (vu.tran)
Created Nov 13, 2018 5:43:38 AM
Updated Dec 15, 2018 8:51:19 PM
Resolved Dec 15, 2018 8:51:19 PM
State Obsolete
Assignee Liubov Dievskaia (Liubov.Dievskaia)
Subsystem No Subsystem
Type Support Request
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

What steps will reproduce the problem?

  1. Setup YouTrack plugin on a TestRail system
  2. Push defect
  3. Hover over YouTrack ID in TestRail

What is the expected result?
A pop-up window appears which pull YouTrack details and displays it within the TestRail page.

What happens instead?
Error Message: "Plugin "YouTrack20182" returned an error: Not Found"

Additional Information
Your API was change once again, the same happened with release 2018.2. we need help knowing what call methods where deprecated. I've attached the plugin used by TestRail.

JT-49697: State Transition - autoforward

0
0
Reporter Bödey Ádám (bode71921) Bödey Ádám (bode71921)
Created Oct 13, 2018 1:54:16 PM
Updated Dec 15, 2018 8:51:44 PM
Resolved Dec 15, 2018 8:51:41 PM
State Without verification
Assignee Oleg Larshin (Oleg.Larshin)
Subsystem Workflow
Type Support Request
Priority Normal
Browser Chrome
OS Windows 10
Fix versions 2018.2.42223
Affected versions 2018.3.46358

We have a project, which tracks how many hours have been spent the ticket on a day. Because of reasons the main workhours is 8 hour which is between 8:00-16:00. But also someone might stay in the office until 20:00. There is lot of coding behind it, it is a little bit complex too.
In YouTrack 2018.2 Build 42223 I have used autoforward from Submitted to an Open Forwarder which onEnter function if the time is before 16:00 then its going to forward it to Open, and after to Open Night State. It would work out fine.
But in the YouTrack 2018.3 Build 46358 it remains in the Open Forwarder, and does not going to Open / Open night State as it should be.
I tried to look for autoforward in the YouTrack 2018.3 Help documents but i can not find anything about it.

Before 16:00
Submitted -> Open Forwarder -> Open
After 16:00
Submitted -> Open Forwarder -> Open Night

But my questions would be:

  • Is it possible in Statemachine to forward it to the corresponding state depending on what time is it?
  • Also can i autoforward to a targetState which is stored in a variable that can be modified between the trainsition eg: onEnter(),onExit()
  • Is there anything from autoforward in the documents.

There would be my idea which worked at some point in the older build
but in the new one remains in the OpenForwarder

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

var forwardTo="Open";

exports.rule = entities.Issue.stateMachine({
  title: workflow.i18n('Define transitions for "State" field with predefined time constraints'),
  fieldName: 'State',
  states: {
    Submitted: {
      initial: true,
      onExit: function(ctx){
        var date = new Date(Date.now());
		
        if (date.getHours() < 16) {
          ctx.issue.fields.OpenTime = Date.now();
          forwardTo = "Open";
        } else {
          ctx.issue.fields.NTS = Date.now();
          forwardTo = "Open Night";          
        }
      },
      transitions: {
        autoforward: {
          targetState: "Open Forwarder",
          after: ONE_SECOND
        }
      }
'Open Forwarder': {    
      transitions: {
        autoforward:{
          targetState: forwardTo,
          after: ONE_SECOND
        }
      }
    },
}
...
...
...

Could you lend me a helping hand?
Also tried this below

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

exports.rule = entities.Issue.onChange({
  title: 'Open_forwarder',
  guard: function(ctx) {

    return ctx.issue.fields.becomes(ctx.State.name,ctx.State.OF.name);
  },
  action: function(ctx) {
      var date = new Date(Date.now());
      var forwardTo;
        if (date.getHours() < 16) {
          ctx.issue.fields.OpenTime = Date.now();
          forwardTo = "Open";
        } else {
          ctx.issue.fields.NTS = Date.now();
          forwardTo = "Open Night";          
        }

        ctx.issue.fields.State = ctx.issue.project.findFieldByName(ctx.State.name).findValueByName(forwardTo);
  },
  requirements: {
   State:{
     type: entities.State.fieldType,
     name: "State",
     OF:{
       name: "Open Forwarder"
     }
   }
  }
});

But because of the autoforward, which does not triggers a change in the transaction, so this module would not get triggered.

So once again, do you have any advice about this code, and also a solution to my problem? That would redirect to the corresponding state depending on the time.

Thanks in advance!

JT-50215: A mess in assignee popup

0
0
Reporter Katya Leizarovich (Katya.Leizarovich) Katya Leizarovich (Katya.Leizarovich)
Created Nov 8, 2018 1:45:47 PM
Updated Dec 15, 2018 8:52:08 PM
Resolved Dec 15, 2018 8:52:08 PM
State Obsolete
Assignee Alexander Buturlinov (alexander.buturlinov)
Subsystem Custom Fields
Type Bug
Priority Normal
Browser Chrome
OS Windows 10
Fix versions Unscheduled
Affected versions Unknown

JT-50170: I cannot see very easy the reported submitted by me

0
0
Reporter Taw Moto (tau.xxx) Taw Moto (tau.xxx)
Created Nov 5, 2018 12:22:13 PM
Updated Dec 15, 2018 9:06:57 PM
Resolved Dec 15, 2018 8:31:14 PM
State Obsolete
Assignee Anastasia Bartasheva (ana.bartasheva)
Subsystem No Subsystem
Type Support Request
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown
In the past I just gone to "Issues" -> by me, now this option is gone and I cannot see my opened issues, which is really bad.
I don't want to use your 10000 options filtering, I just want to see my issues simpler and clear.

JT-50849: Document what "duplicate" means

0
0
Reporter Roland Illig (roland.illig) Roland Illig (roland.illig)
Created Dec 15, 2018 9:57:33 PM
Updated Dec 15, 2018 9:57:33 PM
State Submitted
Assignee Unassigned
Subsystem No Subsystem
Type Bug
Priority Normal
Browser Any Browser
OS Any OS
Fix versions Unscheduled
Affected versions Unknown

Apparently the JetBrains definition of "duplicate issue" does not correspond to other's expectations.

For example IDEA-101218 has 50 "duplicate issues" which are not really duplicates since they are about various topics, and solving one of them does not solve the others.

Searching for "duplicate" didn't show any useful answers, but this term is too important to be left undefined.

The meaning of the word "duplicate" should be communicated in clear and precise terms.

Viewing all 74845 articles
Browse latest View live




Latest Images