The Adaptavist Group LogoDocumentation

Jira Agile

This page gives some guidance on how to use ScriptRunner to work with Jira Agile, or TAFKAG (the add-on formerly known as Greenhopper).

As well as @PluginModule, ScriptRunner provides an annotation specifically for retrieving a spring bean from Jira Agile…​ so, to get the RapidViewService (for finding and create boards), you would use:

@JiraAgileBean
RapidViewService rapidViewService

This works in a way very similar to @WithPlugin in Scripting Other Plugins.

Examples

List and Create Boards

Here is a more full example of using the rapid view service, which lists the names of the current boards, and creates a new one based on the "scrum" preset (the other preset you can use is kanban).

https://gist.github.com/jechlin/9787666

Add Issue to Current Sprint on Transition

This will add the current issue to the current active sprint on an action, say Start Progress. I do not necessarily recommend this as a good practice (scope of sprint should not change after it begins), but certainly it saves a lot of clicks.

CAUTION: probably not production ready code. Also there is now a configurable built-in post-function to add and remove from sprint.

https://gist.github.com/jechlin/9789183

Search documentation

Start typing to search the docs.