Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Django app for interact with atlassian libraries such as JIRA and Confluence

License

NotificationsYou must be signed in to change notification settings

aburgool/django-atlassian

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django-atlassian allows you to build a Atlassian Connect apps using Django, it includes:
  • JWT support
  • Jira's django db backend
  • Confluence's django db backend

Installation

Download and install usingpip install django-atlassina

$ pip install django-atlassian

Example Configuration

Backend mode

DATABASES= {'jira': {'ENGINE':'django_atlassian.backends.jira','NAME':'https://your-site.atlassian.net','USER':'',# Your user'PASSWORD':'',# Your password'SECURITY':'',    },DATABASE_ROUTERS= ['django_atlassian.router.Router']

Application mode

In this mode, you setup a database configuration to connect to a specific Jira/Confluencecloud instance. All custom fields will be automatically introspected.

Setup the router to make the connected host model be accessed through their own database:

DATABASE_ROUTERS= ['django_atlassian.router.Router']ALLOWED_HOSTS= ['<ID>.ngrok.io']

Create a basicatlassian-connect.json template file:

{"name":"<Your app name>","description":"<Your app description>","key":"<Your app private key>","baseUrl":"<Your host set on ALLOWED_HOSTS>","vendor": {"name":"<Your company>","url":"<Your website>",    },"authentication": {"type":"jwt"    },"lifecycle": {"installed":"{% url 'django-atlassian-installed' %}"    },"scopes": ["read","write"    ],"apiVersion":1,"modules": {    }}

Contributing

If you'd like to contribute, the best approach is to send a well-formed pullrequest, complete with tests and documentation. Pull requests should befocused: trying to do more than one thing in a single request will make it moredifficult to process.

References

Database implementation:

Dynamic model field injection:

About

Django app for interact with atlassian libraries such as JIRA and Confluence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python100.0%

[8]ページ先頭

©2009-2025 Movatter.jp