August 15, 2023

Configuring the Job for retrieving the project information from JIRA application – Docs for ESB 6.x

Configuring the Job for retrieving the project information from JIRA application

  1. Double-click the tJIRAInput component to open its
    Basic settings view.

    jira_retrieve_project_information_tjirainput.png

  2. In the Host URL, User Id, and
    Password fields, specify the user authentication
    information required to access the JIRA application.
  3. Select Project from the JIRA
    resource
    drop-down list, in the Project
    ID
    field displayed, enter the key of the project, whose
    information will be retrieved. In this example, it is
    DOC.
  4. Double-click the tExtractJSONFields component to open
    its Basic settings view.

    jira_retrieve_project_information_textractjsonfields.png

  5. Click the […] button next to Edit
    schema
    , and in the schema dialog box displayed, define the
    schema by adding six columns of String type, id,
    key, name,
    description, assigneeType, and
    ProjectTypeKey, which will hold the corresponding
    information of the specified project.

    When done, click OK to save the changes and close the
    dialog box.

  6. Select the JSON field to be extracted from the JSON
    field
    drop-down list. In this example, it is
    json, which is passed from the
    tJIRAInput component.
  7. In the Loop Jsonpath query field, specify the path to
    the node on which the loop is based. In this example, it is
    $, which is the root node of the JSON field.
  8. In the Mapping table, the Column
    cells are automatically filled with the schema columns, and you need to specify
    the corresponding JSON node that holds the desired data for each schema column.
    In this example, $.id for the id
    column, $.key for the key column,
    $.name for the name column,
    $.description for the
    description column,
    $.assigneeType for the
    assigneeType column, and
    $.projectTypeKey for the
    projectTypeKey column.
  9. Double-click the tFileOutputJSON component to open its
    Basic settings view.
  10. In the File Name field, specify the path to the file
    into which the extracted project information will be written,
    D:/JiraComponents/project_info.json in this example.
    And in the Name of data block field, enter the name of
    the data block, project in this example.

Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x