Skip to content

Latest commit

 

History

History
121 lines (83 loc) · 4.95 KB

contributing.md

File metadata and controls

121 lines (83 loc) · 4.95 KB

Contributing

Your contribution is always welcome! Please read this document to help you with this.

Raise an issue for bugs and feature requests

Please feel invited to raise issues to let us know about your ideas and wishes or any bugs that you have found. When doing so please have a look at the current list of open issues to avoid duplicates.

Improve or add new translations

Want Scrum Poker for Jira to be translated into your language? Please help us to translate our app! There is nearly no development experience required to do so. For further details see Supported Languages.

There are special characters that must be escaped in the message bundles that are used for the translations. See the following list for required replacements:

Character Replacement
ä \u00E4
ö \u00F6
ü \u00FC
ß \u00DF
' ''
& \u0026
à \u00E0
è \u00E8
é \u00E9
É \u00C9
Ê \u00CA

This list will be updated when new characters are used but not yet documented.

Run app in development mode

Development of Atlassian Jira plugins requires the use of the Atlassian Plugin SDK. To set up your development environment have a look at the official documentation: Set up the Atlassian SDK and build a project

During development, you will find the following commands useful:

  • atlas-run installs this plugin into Jira and starts an instance on localhost
  • atlas-package generate a Jar file of the plugin and installs it into the currently running instance (see atlas-run)
  • atlas-clean cleans up the target folder and so allows you to start with a fresh Jira instance

To fasten up development start a first terminal with a running instance of Jira with the command atlas-run and trigger deployments of updated versions by the command atlas-package.

Commit changes to Git

Changes to the source code of Scrum Poker for Jira shall be informative and help to understand what has changed and why. Commit messages should always be written in this format:

<type>: <subject>

<body>

<footer>

The first line put together from the type and the subject should not be longer than 70 characters, the second line is always blank and the following lines should be wrapped at 80 characters.

Allowed type values

  • feat (new feature)
  • fix (bug fix)
  • docs (changes to documentation)
  • style (formatting, missing semicolons, etc., no code change)
  • refactor (refactoring production code)
  • test (adding missing tests, refactoring tests; no production code change)
  • chore (updating dependencies etc; no production code change)

Message body (optional)

  • uses the imperative, present tense: “change” not “changed” nor “changes”
  • includes motivation for the change and contrasts with previous behavior

Message footer (optional)

The message footer is used to reference issue that are addressed and closed by this commit. Closed issues should be listed on a separate line in the footer prefixed with "Closes" keyword like this:

Closes #17

or in case of multiple issues:

Closes #17, #18, #19

Samples

A simple commit message would look like this:

feat: configuration page reloads on configuration changes

A more complex sample would look like this:

feat: users cannot see sessions for issues without permission

Adds a check to prevent users to see issues they are not allowed to see. Prior
to this commit users were able to open sessions and see details for issues
that they are not allowed see in Jira directly.

Closes #17

Release a new version

Releasing a new version helps to bring out new features and improvements to our customers. To keep track of all changes we do the following:

  1. update the POM file with the new version number (using Calendar Versioning style YY.0M.MICRO since 20.05)
  2. add the new version, a release title and the release date to the Changelog
  3. update the Compatibility Matrix with the new version number
  4. create a tag for the new version with reference to the latest commit
    git rev-parse HEAD
    git tag -a <version> -m "<version>" <commit hash>
    git push origin <version>
    
  5. upload and promote the new version at Atlassian Marketplace
  6. add new version number to Service Desk versions