In an agile board, how can I order the subtasks inside the parent task card - youtrack

I have a parent task and I added subtasks. On my agile board I can see that parent task and having chosen to view "with description" I also can see the subtasks inside the parent tasks card in a nice ordered list format. I can even click on any of them and open it directly.
What I can't find is how to order this list which always seems to be ordered by creation time of subtasks. If I can't order this list my self, I need to be going back to Tree-view every time to figure out in what order the subtasks should be performed.

Unfortunately, it's impossible. Subtasks of the issue on a card are just taken from the database in the order of creation and displayed in this very order, without an opportunity to set custom order for them.
Probably the best workaround for you now is to make each issue with many subtasks a separate swimlane and then organize the order of subtasks by moving cards.

Related

How to store tasks that can edit/add/delete without impact the history of the documents in sql?

It maybe seems a trivial question, but how to design the problem to SQL?
I have a document containing tasks inside.
Each document is per day and each task the have description, complete properties.
I want to be able to provide a page to the user where he can see the tasks of the document and be able to mark if it's complete.
Also, I want to provide the user the ability to edit/add or delete tasks without impacting the previous documents.
Of course, I start from the basic create a tasks table and docs table and docs_tasks for the relationship, but how to design the edit/add or delete without impact the previous docs (for search and archive purposes)?

Accessing and/or modifying data from multiple resources at once in react-admin

I'm looking to create an input based on data from all records within a particular resource (not just a single one referenced by an ID present in the record currently being edited.
The reason I want to do this is because I'm working on a react-admin page for an app that deals with schedules. Each schedule has a list of time slots that are part of that schedule as well as a list of dates on which that schedule should apply. This is conceptually similar to a basic calendar.
I would like to give users a UI to select a list of dates that each schedule should apply, ideally presented as a calendar (but this isn't necessary). There are plenty of options to do this that are already available in react-admin, but none of them seem to provide me the ability to display dates that have already been assigned to other schedules as disabled/grayed out. This requires access all of the assigned dates for other schedules that aren't currently being edited.
Is there an existing way to do something like this in react-admin? or will I need to dig into the imlementation for <ReferenceField> to make my own version that doesn't need an ID for a record and just returns all records?

Stacked Multi Bar Graph in Qlikview

Background Knowledge on Application:
In Simulation many users can be involved but a few (typically 2 to 3) will do actually the Simulation.
A Simulation has Phases, A Phase has Actions and these can be performed by users in the process of Simulation.
A set of Users will do a Simulation and another set of Users will observe that process.
Once the Simulation process is done, the users who are observing the simulation will evaluate the users who did actually. And at the same time the faculty will also evaluate the users (who did the simulation)
I have implemented a dashboard/graph to represent the complete above scenario, by directly showing graph based on simulation id and user in the beginning. If we select any particular simulation then the graph changes o next level i.e based on users, who did that simulation actually (Here the dimension is user name). Then if we select any user then it will dig down to next level i.e based on the phases (here the dimension is phase), again if we select the phase then it will change, based on the actions (here dimension is the action).
This part id done and attached the screenshot and .qvw file as well.
Now the main task here is, I need to compare student given marks with faculty given marks (both are in different tables, i.e studentscore & facultyscore), in the same graph using stacked multi bar graph at user level, phase level, action level.
Attached the screenshot for reference (please see in the Reference sheet).
May be some of the dimensions or expression are wrong, or I am not sure actually.
I am able to do with only one level, but not in these levels (level by level, like, based on users, based on phases, and based on actions)
I really tried in many ways, but it is not working as expected.
You can download the attachments here
https://slack-files.com/T02FXUAB9-F308KT8PQ-c53db69bbb
https://slack-files.com/T02FXUAB9-F2YSTAW72-bba2433d6f

How to run process on multiple records?

I want to create an on-demand process of some kind in Dynamics CRM 2013 that will run on multiple records of the same type. The process will create an equal number of records of another type, and all will relate to the same parent record. I can imagine how a workflow would be used to create the new child records but I am not sure how I could create the parent record and associate it with the child records.
If you're running on multiple records, then I presume your are starting from a gridview of some sort. If that's the case, then the solution is easy. Just create a custom ribbon button that accepts the selected records as a parameter, and runs a custom javascript. That will accomplish what you need in a nice elegant solution.
Because it's running javascript, you will have full control to be able to do everything you need. One of the features of ribbon buttons, is they can receive the selected records in a parameter as an array.
But if you don't want to do all the work in javascript, you can have the script pass the parameters to a custom Workflow or Action.
As its already been mentioned, a workflow won't be able to do this alone, because it can only run on a single record, and cannot accept multiple records as an input parameter.
Jason I think the point here is to automate the process. Lee you are correct in your assessment that creating the work order with a workflow step is easy to do while creating the child work order items is either difficult or impossible. Even if you managed to hack this together with several workflows triggered by different events during the process the end result would be a UX/maintenance nightmare.
The simplest and best solution is to have piece of plugin logic that you trigger with your workflow. This plugin code would create a new work order and associated work order items based on the context of the service you run the workflow against. If you would like for this action to be triggered by a database operation instead of manually triggered this would be simple to do as well.
You aren't going to be able to do this via a CRM dialog because it can only run against one record. You can accomplish this fairly easily by leveraging existing CRM functionality:
If it doesn't already exist, create a field in your service entity (the Work Order Item) called new_MasterWorkOrder (or something similar) which is link to a Master Work Order entity.
Create your master record - this would be your Overall Work Order.
From your Work Order Item record entry listing, select all the items you want to add to the Master Work Order record created in the previous step. Alternately, you could use an Advanced Find to locate the target records.
Click the Edit button to initiate the CRM bulk/multi-record edit form.
In the new_MasterWorkOrder field, select the Overall Work Order previously created.
Save.
Once the process complete, all of the Work Order Items you selected will now be linked to your Overall Work Order.
It sounds like you might a need a step before this to create a Work Order Item from selected Service entities. You should be able to accomplish this easily by having a workflow which runs takes in a Service entity as a parameter and builds a Work Order Item from it. Once you have these built you can link them to an Overall Work Order using the process above.

Simulaneous changes to objects

I'm in the process of developing an app that manages the inventory in a shop. I assume that there could be potentially more than one user working with the app and therefore a scenario where both could reserver for checkout the same item (but for two different recipients is a likely one.
Are there any gems that or techniques someone could recommend that could help with this?
When the users create a new order they get the list of objects that are not reserved (this is a rental shop) but if one leaves the form open for a bit, without making the reservation, someone else still sees the item as available.
Can anyone offer advice about this? Hope the question is not too vague.
Is callbacks the way to go, by creating a before_save validation?
Thank you!
You can use a gem like delayed_job where you can schedule a job to be run at certain time, in this case, after a certain timeout.
You can then schedule a job which removes the reservation status on an item. If the user is successful in reserving the item, the delayed job needs to be deleted.
To delete the item from this activerecord table, you can find it based on the table attributes specified here.