Versions Compared

Key

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

...

  • Often other users have already done something similar to what you would like to do. Find an example on the Atlassian Community?

  • Look for routines.

  • If the routine you are looking for does not exist, consider implementing a script which consumes an Atlassian REST API (Jira Server/DC), (Cloud).

    • When developing SIL scripts which consume REST API, try using getting results with httpGet().

  • Sometimes in your research Groovy fits the bill (available via the SIL Groovy Connector, Jira Server/DC only). Reasons for using Groovy are the following:

    • Groovy tends to run faster than REST API.

    • Only a “Groovy” solution exists and is the only way to create a workaround.

...

  • I can, but should I?

    • If used incorrectly, certain implementations can result in code that takes to long or takes down your Jira instance.

  • Migration minded.

    • Always keep in mind when developing code what it would take to migrate to the next version of Jira or Confluence when they come out.

  • Does it scale?

    • Can the process being developed be used on a grand scale?

  • Don't bake in bad processes.

    • Bad processes tend to multiply over time. If you do the first thing right, the process will get better over time.

  • Leave the smallest footprint.

    • Write code that is direct, to the point and reads well.

    • Avoid code that uses a large amount of system resources.

  • Use native Jira features whenever possible.

    • There is no need to reinvent the wheel. Jira is an amazing system, so use those features to accomplish your goals.

  • Use Jira in the way it was designed to operate.

    • With scripting, the features you can implement are infinite. However, keep the functionality of your code to be in alignment with Atlassian best practices.

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@135a7
sortmodified
showSpacefalse

...

reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "PKB"
labelskb-how-to-article
Page Properties
hiddentrue


Related issues