Rally Software

 View Only
  • 1.  Rally Jira Connector not connecting

    Posted Jul 08, 2019 11:12 AM
    Hi,

    I'm testing out the Rally Jira connector with a Jira Cloud instance but it doesn't seem to connect. I'm getting the below error in the logs.

    [2019-07-02 10:48:42 Z] INFO : RallyEIF::WRK::ConnectorRunner.show_logging_settings - Log file size set to 5242880
    [2019-07-02 10:48:42 Z] INFO : RallyEIF::WRK::ConnectorRunner.show_logging_settings - Log files maximum count set to 10
    [2019-07-02 10:48:42 Z] ANY : RallyEIF::WRK::ConnectorRunner.block in run - processing to commence using content from jira_config.xml
    [2019-07-02 10:48:43 Z] ANY : RallyEIF::WRK::RallyConnection.initialize - Initializing Rally connection version 4.11.0
    [2019-07-02 10:48:43 Z] INFO : RallyEIF::WRK::RallyConnection.initialize - Rally Web Services version v2.0
    [2019-07-02 10:48:43 Z] ANY : RallyEIF::WRK::JiraConnection.initialize - Initializing JIRA connection version 4.8.0
    [2019-07-02 10:48:43 Z] INFO : Class.read_workflow_file - jira_workflow.xml
    [2019-07-02 10:48:43 Z] INFO : RallyEIF::WRK::Connector.initialize - Ruby platform x64-mingw32
    [2019-07-02 10:48:43 Z] INFO : RallyEIF::WRK::Connector.initialize - Ruby version 2.2.6
    [2019-07-02 10:48:43 Z] INFO : RallyEIF::WRK::JiraConnection.connect - Connecting to JIRA at https://xxxxdemo.atlassian.net
    [2019-07-02 10:48:46 Z] ERROR : RallyEIF::WRK::JiraConnection.rescue in connect - Could not log in to JIRA
    [2019-07-02 10:48:46 Z] ERROR : RallyEIF::WRK::JiraConnection.initialize - Response code for /rest/api/2/user?username=leo.dsouza@regoconsulting.com was 401 (Unauthorized)
    [2019-07-02 10:48:46 Z] INFO : RallyEIF::WRK::JiraConnection.disconnect - Disconnected from JIRA
    [2019-07-02 10:48:46 Z] ANY : RallyEIF::WRK::ConnectorRunner.run_services - There was an error in processing so the Time File was not written



    Jira recently deprecated access to their api using Basic Authentication. I'm assuming the connector uses Basic Authentication here. Is there a fix/resolution for this?

    ------------------------------
    Integration Analyst
    Rego Consulting
    ------------------------------


  • 2.  RE: Rally Jira Connector not connecting

    Broadcom Employee
    Posted Jul 09, 2019 04:16 PM
    Hi Leo,

    Does the userid running the connector (leo.dsouza@regoconsulting.com) have editor permissions for that project in Jira?


  • 3.  RE: Rally Jira Connector not connecting

    Posted Jul 10, 2019 01:23 AM
    Yes, I have admin access and able to edit all projects in Jira.

    ------------------------------
    Integration Analyst
    Rego Consulting
    ------------------------------



  • 4.  RE: Rally Jira Connector not connecting

    Posted Jul 10, 2019 01:38 AM
    Yes, I have admin access and able to edit all projects in Jira.