Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Power Scripts and the SIL Engine don't include (at the moment this article has been written) a routine to obtain the option's descriptions and IDs (hence the mapping between both). However, due to the powerful SIL Groovy Connector/Runner app, we can rely on the Groovy language to directly access Jira's components and retrieve such information that can be returned as data for use in any of our SIL scripts.

\uD83D\uDCD8 Instructions

  1. Install the SIL Groovy Connector (Runner) - Atlassian Marketplace listing: https://marketplace.atlassian.com/apps/1220177/sil-groovy-connector?hosting=datacenter&tab=overview - this will enable the executeGroovyScript() SIL routine.

  2. Once the SIL Groovy Connector is installed, you will end up with a description as shown in the attached capture:

...

Info

Notes:

  • The returned value is a regular, comma-separated String (not a String array), so you must handle it correctly according to your needs.

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@bc3e0baf
maxCheckboxfalse
showSpacefalse
sortmodified
typepage
reversetrue
labelskb-how-to-article
cqllabel = "kb-how-to-article" and type = "page" and space in ( "PSJC" , "PSJ" , "GROOVY" , "SIL" )