From: Thanh Ha Date: Mon, 16 Jul 2018 16:49:35 +0000 (-0400) Subject: Add docs for setting up JIRA infra X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F11794%2F7;p=releng%2Fdocs.git Add docs for setting up JIRA infra Issue: RELENG-902 Change-Id: If239aec406990fdaa2ceffe6751b43767c22df6b Signed-off-by: Thanh Ha --- diff --git a/docs/_static/jira/ldap.example b/docs/_static/jira/ldap.example new file mode 100644 index 0000000..dd634a1 --- /dev/null +++ b/docs/_static/jira/ldap.example @@ -0,0 +1,24 @@ +Name: Delegated LDAP Authentication +Directory Type: OpenLDAP +Hostname: ldap.example.org +Port: 636 +Use SSL: True + +Copy User on Login: True +Default Group Membership: jira-software-users +Synchronize Group Memberships: True + +Base DN: dc=example,dc=org +User Name Attribute: uid +Additional User DN: ou=Users + +User Display Name Attribute: cn + +# Group Schema Settings +Additional Group DN: ou=Groups +Group Object Class: groupOfNames +Group Object Filter: (&(objectclass=groupOfNames)(|(cn=PROJECT-*)(cn=lf-collab-admins)(cn=lf-helpdesk))) + +# Membership Schema Settings +Group Members Attribute: member +User Membership Attribute: memberOf diff --git a/docs/infra/index.rst b/docs/infra/index.rst index f5a0fca..93bca5f 100644 --- a/docs/infra/index.rst +++ b/docs/infra/index.rst @@ -13,6 +13,7 @@ Infrastructure provided to projects. inventory bootstrap jenkins + jira nexus openstack github diff --git a/docs/infra/jira.rst b/docs/infra/jira.rst new file mode 100644 index 0000000..7d424bc --- /dev/null +++ b/docs/infra/jira.rst @@ -0,0 +1,133 @@ +.. _jira-infra: + +#### +JIRA +#### + +.. _jira-general: + +General Setup +============= + +#. Navigate to https://jira.example.org/secure/admin/ViewApplicationProperties.jspa +#. Click ``Edit Settings`` + + .. code-block:: none + + Base URL: + Introduction: +

You will need a Linux Foundation ID to login here.

+

+ You can create a Linux Foundation ID username (or request a new + password if forgotten) at + + https://identity.linuxfoundation.org + . +

+ +#. Navigate to https://jira.example.org/secure/admin/EditDefaultDashboard!default.jspa +#. Move the "Introduction" widget to under the "Your Company JIRA" widget + +#. Navigate to https://jira.example.org/secure/admin/EditAnnouncementBanner!default.jspa +#. Configure the Annoucement as follows: + + .. code-block:: none + + + +#. Set **Visibility Level** to ``Public`` + +#. Navigate to https://jira.example.org/secure/admin/OutgoingMailServers.jspa +#. Configure outgoing email as follows: + + .. code-block:: none + + Name: localhost + From address: jira@example.org + Email prefix: [JIRA] + + Protocal: SMTP + Host Name: localhost + +#. Click **Update** + +.. _jira-ldap: + +LDAP +==== + +#. Navigate to https://jira.example.org/plugins/servlet/embedded-crowd/directories/list +#. Click ``Add Directory`` +#. Choose ``Internal with LDAP Authentication`` and click ``Next`` +#. Configure LDAP + + .. literalinclude:: ../_static/jira/ldap.example + + .. note:: + + In Group Object Filter, change cn=PROJECT-* to replace PROJECT with the + group prefix for the project you want to have group permissions on this + JIRA instance. Eg. odl, onap, opnfv, etc... + +#. Click ``Save and Test`` +#. Ensure the ``Internal`` directory has higher precedence than ``OpenLDAP`` + +At this point we should be able to log in using our personal account to +continue managing the JIRA Server. This is necessary for the LDAP admin +groups to appear. + + +.. _jira-admin-perms: + +Admin Permissions +================= + +#. Navigate to https://jira.example.org/secure/admin/GlobalPermissions!default.jspa +#. Add ``lf-collab-admins`` and ``lf-helpdesk`` to the following groups: + + * JIRA System Administrators + * JIRA Administrators + * Browse Users + * Create Shared Objects + * Manage Group Filter Subscriptions + * Bulk Change + +.. _jira-post-cfg: + +Post configuration +================== + +* Inform LF Helpdesk about new Jira instance + + Send an email to helpdesk@rt.linuxfoundation.org as follows: + + .. code-block:: none + + Greetings Helpdesk, + + This is a notification that a new JIRA is online at + https://jira.example.org and ready for you to take on license management + and renewals. + + Please install the initial trial license. + + Thanks, + Releng