Retrieve Data from JIRA

To automatically retrieve information from JIRA, create a new fetch task by following these steps. The connector runs each fetch task automatically, based on the schedule that is configured in the configuration file.

To create a new Fetch Task

  1. Stop the connector.
  2. Open the configuration file in a text editor.
  3. In the [FetchTasks] section of the configuration file, specify the number of fetch tasks using the Number parameter. If you are configuring the first fetch task, type Number=1. If one or more fetch tasks have already been configured, increase the value of the Number parameter by one (1). Below the Number parameter, specify the names of the fetch tasks, starting from zero (0). For example:

    [FetchTasks]
    Number=1
    0=MyTask
  4. Below the [FetchTasks] section, create a new TaskName section. The name of the section must match the name of the new fetch task. For example:

    [FetchTasks]
    Number=1
    0=MyTask
    
    [MyTask]
  1. In the new section, set the following configuration parameters:

    JiraUrl The base URL of the JIRA instance. The connector expects the REST APIs to be accessible relative to this URL, at <JiraUrl>/rest. For example, the following URL should return a list of the available projects: <JiraUrl>/rest/api/2/project.
    ProjectKey (Optional) A list of the JIRA projects that you want to ingest data from. If you do not set this parameter, the connector processes all accessible projects.
    BasicUsername The user name to use to access JIRA through HTTP Basic authentication.
    BasicPassword The password to use to access JIRA through HTTP Basic authentication.
    SSLMethod The SSL protocol to use, for example TLSV1.

    For example:

    JiraURL=https://example.com/jira
    ProjectKey0=PROJ1
    ProjectKey1=PROJ2
    BasicUsername=user
    BasicPassword=pass
    SSLMethod=TLSV1
    TIP:

    Micro Focus recommends that you encrypt the user name and password before entering them into the configuration file. For information about how to encrypt the values of configuration parameters, see Encrypt Passwords.

  2. (Optional) If you have installed the JIRA REST Connector on a machine that is behind a proxy server, set the following parameters so that the connector can access the JIRA instance.

    ProxyHost The host name or IP address of the proxy server to use.
    ProxyPort The port of the proxy server to use.
  3. Save and close the configuration file.

_FT_HTML5_bannerTitle.htm