Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Make sure that Rest API Plugin is enabled. To do that go to the following URL: <your-teamcity-server>/httpAuth/app/rest/application.wadl. You should see the output as shown below
  2. Configure integration with JIRA as described here

    Note
    titleNote

    If you want to grant TeamCity access to all JIRA projects, click the Get the Get All Projects link Projects link in the window Create window Create New Issue Tracker Connection. Otherwise, specify the projects you want to grant access to in the Project Keys field the Project Keys field as shown below. The JIRA user specified in the Username field the Username field should have access to relevant JIRA projects.

  3. Assign the  Project Viewer  and  Agent Manager  roles to an existing TeamCity user
     or 
    first create a new user and assign the roles.  

...

  1. Install the plugin with Universal Plugin Manager  or  manually.
  2. Install the plugin license:
    • If you generated the license on our site, install it in Administration > TeamCity Configuration > License Details.
    • If you generated the license on Marketplace, install it as described here
  3. Create the TeamCity Application Link as described here.  

     
    Note
    titleNote
    :

    You don't need to create a link for every project. One Application Link will be enough.  

     Image Modified 

    You will see your link in the Application Links list. 
  4. Configure Basic HTTP Authentication for Outgoing Authentication as described here. Use the credentials of the TeamCity user you configured earlier. These credentials will be used by the Application Link. 
       

...

Immediately after installation, the plugin displays the TeamCity tab on the Project, Version and Issue pages in JIRA and starts indexing all TeamCity builds looking for those containing JIRA Issue Keys. Note:  

 

 

 

Info

Issue Key  is a JIRA issue ID. Normally, it's specified in a commit log message in a version control system integrated with TeamCity. For example, a developer commits a source code file adding the log message DEMO-5 Added compatibility with older browser versions,  the build that includes this change will be shown in JIRA in the DEMO project and in issue DEMO-5. 

 

While the plugin is analyzing the builds, you will see the the following message on the TeamCity tab.

 

Note:  This

 

 

Note
titleNote

This process may take a while on large instances.

 

When the inital indexing is over, you will see all found builds on the TeamCity tab on the Project (shown below), Version and Issue pages.

If no relevant builds are found, you will see the message No associated builds are found From now on, the plugin will update the build list in JIRA every 2 minutes.

...