Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Work with Script

Requirements

  1. Python

  2. python3-pip

Installation

  1. Clone this repository to a local directory

     git@github.com:Tim-Cao/work-with-script.git
    

Configuration

  1. Run the following command at the root directory of local repository

     python3 initialization.py
    
  2. Generate jira API Token

    1. Sign in https://liferay.atlassian.net/

    2. Click the cog icon > Atlassian account settings > Security > Create and manage API tokens

    3. Create API Token

    4. Save generated token in your local file as you will not be able to see this again.

  3. Generate github API Token

    1. Sign in https://github.com/

    2. Personal Menu > Settings > Developer Settings > Personal access tokens > Tokens(classic) > Generate new token

    3. Add a name > Leave expiration as default > Select the following scopes

      image

      image

    4. Generate token

    5. Save generated token in your local file as you will not be able to see this again.

Launch the app

  1. Run the following command at the root directory of local repository

     python3 script_app.py
    
  2. Generate a credentials-ext.properties file under the root directory by ctrl + o shortcuts

    1. This file will open with vscode automatically. Please fill out the value of properties.

    2. If you don't install vscode. Please open it manually.

Features

  1. Create a pull request and forward

    create_pr_and_forward

    See pull request styles

  2. Forward a failure pull request to BrianChan

    forward_failure_pull_request

    See pull request styles

  3. Create a test fix ticket based on a given case result

    create_test_fix_ticket

  4. Write a comments template to a given jira ticket

    write_comments

    See comments styles

  5. Write a description template to a given jira ticket

    write_description

    See description styles

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages