Coder Social home page Coder Social logo

chrome-github-jira's Introduction

chrome-github-jira

This extension shows contents of linked tasks from Jira in Github

How to install

Use the webstore

Install from here: https://chrome.google.com/webstore/detail/github-jira-integration/faenbbkpfnklhncjianlfllkfekgghih

Use this source

  • Throw this source in a folder somewhere
  • navigate to chrome://extensions
  • enable developer mode (right top)
  • Load unpacked extension
  • Select that folder

Changelog

1.3.0

  • Refactor code to es6
    • Use const over let when preferred
    • Use arrow functions for lambdas that do not require this
    • Improve code reuse
    • Reduce duplication
  • Improve templates
  • Add editorconfig
  • Add eslint and config
  • Filter by org

1.2.3

  • Fix title selection in Github page (fixes #47)

1.2.2

  • Assignee is now optional, doesn't show when unassigned
  • Page jumps around a bit less when loading ticket information

1.2.1

  • Fixed order of reporter / assigned names

1.2.0

  • Added option to disable automatic title generation
  • Added option to disable automatic template insertion
  • Fixed incorrect title loading when opening an MR
  • Updated jQuery to 3.3.1
  • Improved look of inserted information in PR overview
  • Improved option page
  • Improved API calls - no longer using jQuery's ajax, but Chrome's fetch in a background view.
  • Changed template language to be English by default
  • Removed the extra tab generated, as it wasn't really used

1.1.1

  • Fixed compatibilty with new GitHub layout (#15, #18)
  • Added ticket status in PR (#17)
  • All links to tickets in commits are automatically parsed and a link will be placed (#16)

1.1.0

  • Added possibility to filter acceptance criteria from the ticket and parse it into the PR using the template.

1.0.4:

  • Removed console logs
  • Fixed Uncaught TypeError when no ticket number was found (#3)

v1.0.3

  • Automatically full a new PR description with a preset template, and will try to update the PR title with a proper one based on the tickets (the ticket number should be in your branch name)
  • Fixed a button loading bug

chrome-github-jira's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chrome-github-jira's Issues

This extension violates the Chrome Web Store policy

Hi,

Is this great extension still maintained?
The extension has been disabled by edge due to violations of Chrome Web Store policy (but not clear what kind of violations..). For this reason, the extension is also no longer available in the webstore.
Is there any plan to fix the problem and put the extension back in the webstore?

Greetings

Ability to turn off PR template feature

The projects I work on have their own per-project custom PR templates in github (using these instructions). When I have this plugin installed, they get overwritten with the PR template configured in the plugin. I tried leaving the PR template option blank, but this still overwrote my project PR template with a blank template.

It would be great if this feature could be turned off. Even better if the template acceptance criteria substitution would still work with the template stored in github, rather than only with the template stored in this project.

chrome.storage API change bug?

chrome.storage API change bug?

https://github.com/RobQuistNL/chrome-github-jira/blob/master/src/options.js

chrome.storage.sync.get({key}, () => {}} => chrome.storage.sync.get(['key'], () => {})

Object param changed to Array param ???

storage API

https://developer.chrome.com/extensions/storage#using-sync

To store user data for your extension, you can use either storage.sync, or storage.local

// storage.sync
chrome.storage.sync.set({key: value}, function() {
    console.log('Value is set to ' + value);
});

chrome.storage.sync.get(['key'], function(result) {
    console.log('Value currently is ' + result.key);
});
// storage.local:

chrome.storage.local.set({key: value}, function() {
    console.log('Value is set to ' + value);
});

chrome.storage.local.get(['key'], function(result) {
    console.log('Value currently is ' + result.key);
});

Prevent PR template insertion when the textarea is already populated

Steps to Reproduce

  1. Go to a "Open a pull request" page
  2. The extension will fill in the PR template
  3. Type some information to prepare the PR for review
  4. Reload the page
  5. The information will show in the textarea for a brief moment
  6. The extension will fill in the PR template, erasing previous work & effort ๐Ÿ™

github enterprise?

Hey, great extension.

Could you do it with github enterprise? Thanks!

Remove jQuery dependency

At least we can make it smaller by using the minimized version - but still, its not being used for a lot, and would be nicer to have a smaller footprint and make it run faster.

Can't login to JIRA instance due to CORS issues

Due to cross origin requests to the jira instance it is necessary to update the ajax requests to use withCredentials.
More over it is necessary to setup CORS locally if you don't want to whitelist chrome-extensions in JIRA administration panel (which I think it is not possible)

Limit extension to certain orgs

I only use Jira for work so it would be nice if this feature only worked on certain orgs.

  1. Add option to filter by org
  2. Limit functionality to https://github.com/{{org}}/*/...

Per repo jira url settings

First, thank you for this great extension. Wish I would have found it earlier!

The one thing I wish it had was the ability to define multiple jira URLs on a per repo basis. I work on multiple projects that are within multiple repos but I can only define the URL for one jira which is limiting.

Uncaught TypeError: Cannot read property '0' of null

chrome-extension://faenbbkpfnklhncjianlfllkfekgghih/src/content.js:82 Uncaught TypeError: Cannot read property '0' of null

This error triggers multiple times on opening a PR on an open source project (so without ticket number in title).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.