Code Monkey home page Code Monkey logo

err-jira's Introduction

err-jira

An errbot plugin for working with Atlassian JIRA. Currently implemented:

  • Describe a Jira issue ID
  • Basic search inside summary or description texts
  • Advanced search in JQL
  • Create issue
  • Assign issue to valid user for the project
  • Transition issue

OAuth for JIRA

Follow the guides on the JIRA developer pages:

Requirements

See requirements.txt: pip install -r requirements.txt

Installation

!repos install https://github.com/RaphYot/err-jira.git
!plugin config Jira {'API_URL': 'http://jira.example.com', 'USERNAME': 'errbot', 'PASSWORD': 'password', 'PROJECT': 'FOO'}
!plugin activate Jira

Feature examples:

 >>> jira create This is an example @raph -p P3

  Jira issue BDBDEV-585:

  This is an example ()

 Open
┏━━━━━━━━━━━━━━━━━┳━━━━━━━━┓
┃ Assignee        ┃ Status ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━━┩
│ Raphael Wxxxxxx │ P3     │
└─────────────────┴────────┘

 >>> jira assign bdbdev-586 sam

  Issue BDBDEV-586 assigned to Sam Gxxxxx

 >>> what about bdbdev-586? # This bot listen for Jira ID.

  Jira issue BDBDEV-586:

  This is an example ()

 Open
┏━━━━━━━━━━━━┳━━━━━━━━┓
┃ Assignee   ┃ Status ┃
┡━━━━━━━━━━━━╇━━━━━━━━┩
│ Sam Gxxxxx │ P3     │
└────────────┴────────┘

 >>> jira transition bdbdev-586 foo

  Transition foo does not exist, available transitions: monitor
    - open
    - doing
    - deploy
    - test
    - close


 >>> jira transition bdbdev-586 close

 Jira issue BDBDEV-586:

  This is an example ()

 Closed
┏━━━━━━━━━━━━┳━━━━━━━━┓
┃ Assignee   ┃ Status ┃
┡━━━━━━━━━━━━╇━━━━━━━━┩
│ Sam Gxxxxx │ P3     │
└────────────┴────────┘

err-jira's People

Contributors

alexanderfahlke avatar fahlke avatar rawouter avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

err-jira's Issues

in_reply_to must be given

Hi guys,

I have a slight issue when running this with a rocketchat backend. it seems whenever self.send is called it returns Argument in_reply_to must be given.

As far as I understand it this is passed here:


self.send(msg.frm,
                      'Ticket must be passed',
                      message_type=msg.type,
                      in_reply_to=msg,
                      groupchat_nick_reply=True)
            return False  



the message variable is defined by errbot itself if I am correct a quick read of the errbot documentation seems to point at in_reply_to being optional however when commented out it still repeats the same error.

I am new to errbot and pointers here would be great.

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.