Project: jirasoftware
Issue JSW-5218: When a Rapid Board is shown, add the projects shown in issues to the most recently used list in JIRA
COS: * Pool/Backlog data will now return as part of the payload a list of projects contained in the issues. This data will be expanded upon in the future. * This story will incorporate GHS-5217 * In the case where no issues are found in a backlog/pool, we determine recent projects by the query of the board ** If the query is not project-based, then we do not modify the project history * Be smart about where projects get inserted into the history * When viewing a Rapid Board via a gadget, this should not have an effect on the recent projects for the user To be smart about history, consider the following example. Viewing a board with issues from projects A, B, X and Y. The issues are seen by the board (ordered by Rank), in the order X, A, B, Y. The user's current history contains the projects in the following order (most recent first): D, B, A, F, G. Because we do not want to upset the order of projects that were already in the history and that we have just seen, the desired new ordering of projects is as follows: B, A, X, Y, D, F, G.
Story points: 8