In 9.7 GH.RapidBoard.State.getBoardType() returns:
"deprecation: RapidBoardState#getBoardType is deprecated and will be removed in next versions; use jira-agile/rapid/rapid-view-config AMD module"
However, jira-agile/rapid/rapid-view-config
is not available.
Calling
require(['jira-agile/rapid/rapid-view-config'], function (config) { console.log("test") });
returns
An exception has occurred in http://localhost:2990/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-mjxoz3/970000/1dlckms/1.0/_/download/resources/jira.webresources:almond/almond.js at 297:27 --- Uncaught Error: undefined missing jira-agile/rapid/rapid-view-config
I have added all greenhoppeer web resource dependencies, but still no luck.
<dependency>com.pyxis.greenhopper.jira:gh-rapid-common</dependency> <dependency>com.pyxis.greenhopper.jira:gh-core</dependency> <dependency>com.pyxis.greenhopper.jira:gh-rapid</dependency> <dependency>com.pyxis.greenhopper.jira:gh-rapid-config</dependency>
The AMD module is also not mentioned in the list of modules available in Jira 9.7
How should we go about retrieving the board type in 9.7?