YouTrack disable mannual time tracking - youtrack

We are using youtrack timetracking workflow to track time by changing task status (in progress -> time ticking, resolved -> time tracked).
We would like to disable manual entry of time tracking entries and leave it only for project Admins. Is it possible?

No, there's no such feature. What you can do is you can create a workflow that will detect if a workitem is added when no status change occure and throw an error.

Related

How to get the current Elastic APM instance in Vue.js?

I have integrated Elastic APM to my Vue.js App accordingly to the documentation (https://www.elastic.co/guide/en/apm/agent/rum-js/current/vue-integration.html)
In addition to the default events page-load and route-change I want to add custom transactions/spans for some button clicks.
I am stucked with checking if there is already an existing transaction start which I could use to add a custom span:
const transaction = this.$apm.currentTransaction()
transaction.startSpan('custom_span', 'type_name');
transaction.end();
However getting the current transaction fails (first line).
The Elastic RUM agent has support for click user interactions, therefore you shouldn't need to manually start these type of transactions.
Regarding the failure in your code the correct API call is getCurrentTransaction and not currentTransaction.
Hope this helps.

Odoo Automation On Update Run More than Once, How To Restrict?

I'm currently using Odoo 12.0+e-20181025 and I'm currently using the Automated Action feature of it to send email whenever the ticket has been updated by someone. I put two different actions, one is to send an email while the other is to make an internal log in the internal log (logger) of the ticket.
The on update domain is as the following:
["&",["user_id","!=",False],["team_id","!=",False]]
At first, it works. But then I noticed that some of them tend to be activated more than once, six (6) times to be exact. As I tried to look for the culprit, I found that it was whenever I choose the "Assigned to" field and/or "Helpdesk Team" field. For some reason I don't know, every time I changed them, the system perceived it as more than one update. It will work normal on any other field.
Can anyone help me how to either (1) make my domain in the automated action work only once each time or (2) how to make the system read my action of filling the field as only one update.Any help is greatly appreciated.
Thank you
Here is what I suggest to restrict multiple attempts from scheduled action.
Add a flag (boolean) field on your target object,
When a scheduled action is executed, search only flag = False,
Afterwards, when you done with event email send, update current record set with flag = True
Now, flag = True will never fetch by scheduled action --- see 2nd point.

Not able to approve tasks in Documentum D2

In one of the workflows, task notification has been sent to an user's inbox. When the user tries to acquire the task, he is getting the error like missing package for the current task of the workflow.
Kindly provide me the suggestion on resolving this issue.
During the Workflow definition if the Package is added as Mandatory Package, and during task completion process if the task attachment is missing, user is expected to get this message in D2 client.
Please check weather the Task attachment is missing from repository in this scenario.
You can either:
Verify if the associated activity definition for the task (from process builder for example) has defined correctly the package/s.
or
Verify if the attached object (document/s or folder/s) to the task exists in repository or the user has at least BROWSE permission on it.
Also, a good idea is to check the D2 app server and JMS logs.

Youtrack - unable to change to some statuses after linking a project to a board

I get this error when I move the issue from In Progress to Done.
Workflow jetbrains-youtrack-scrum reports error: Cannot find State [Done]
Contact project admin admin
This was fine before, but has started behaving differently ever since the issue was also added to two boards.
Both the boards have "Done" as a valid status. What can be the problem?
This workflow may fail with such an error if it is not possible to set 'Done' state to a parent issue.
Thus, most probably, this particular issue is a subtask of some other issue from another project, which doesn't have a 'Done' state in its 'State' field values set.

ActivityFeeds.Plugin.ActivityClose stops record creation, How to solve it?

Some times the ActivityFeeds.Plugin.ActivityClose plugin gets registered on the wrong entity and it stops me from creating new records for that entity.
It usually happens after I register a new plugin with the Plugin Registration Tool.
What is the cause? and how do I solve it?
I haven't found the cause, or how to solve it for good, but to make it work again is simple:
Log into the Plugin Registration Tool.
Select View->Display by Entity(Ctrl+Shift+E).
Expand the entity you are having trouble with.
Expand (message)Create.
Finally select the step for ActivityFeeds.Plugin.ActivityClose and Disable it.
--(Don't Unregister it [in case something breaks])
disable/unregistered the following like steps in plugin ActivityFeeds.Plugins.ActivityClose
ActivityFeeds.Plugins.ActivityClose: Update of any Entity
CAUSE
This kind of steps is registered unintentionally when we do some thing like below in screen shots:
Following is the plugin ActivityFeeds.Plugins.ActivityClose, you can see there is no step registered for this plugin.
Registered an assembly.
Right click on assembly name not on plugin, select registered new step.
Just enter update in message field and then press enter
you can see a step ActivityFeeds.Plugins.ActivityClose: Update of any Entity is added to ActivityFeeds.Plugins.ActivityClose