Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

feat(jira): add action tasks #241

Merged
merged 18 commits into from
Aug 23, 2024

Conversation

YCK1130
Copy link
Collaborator

@YCK1130 YCK1130 commented Jul 25, 2024

Because

  • We need actions to complete the user story

This commit

  • Provide a draft json schema of each task

8/12 Update
I have implemented all functions to connect to the real API and found some tasks are related to some APIs that are not compatible with the current version of Jira. The remaining tasks are:

  • TASK_CREATE_ISSUE
  • TASK_UPDATE_ISSUE
  • TASK_CREATE_SPRINT
  • TASK_UPDATE_SPRINT

7/31 Update
@chuang8511 Hi, I added three more tasks and moved the schema from v1 to v0 as #205 is merged. There are 5 new tasks now:

  • TASK_CREATE_ISSUE
  • TASK_UPDATE_ISSUE
  • TASK_CREATE_SPRINT
  • TASK_UPDATE_SPRINT
  • TASK_RANK_EPIC

7/25
Note that only the last 3 tasks need to be reviewed, as the others are under review at #205

  • TASK_CREATE_ISSUE
  • TASK_UPDATE_ISSUE
  • TASK_MOVE_ISSUE_TO_EPIC

Copy link
Member

@chuang8511 chuang8511 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YCK1130
Left some comments.
Next step, I think you can

  1. create mock function to return fake data.
  2. create a demo pipeline for @instill-ai/product to review the pipeline. I think the schema may be hard for @instill-ai/product to review.

cc'd @AmeliaCelline @zidanehakim you will need to know the new development flow, so tag you two as well.

application/jira/v1/config/definition.json Outdated Show resolved Hide resolved
application/jira/v1/config/tasks.json Outdated Show resolved Hide resolved
application/jira/v1/config/tasks.json Outdated Show resolved Hide resolved
application/jira/v1/config/tasks.json Outdated Show resolved Hide resolved
application/jira/v1/config/tasks.json Outdated Show resolved Hide resolved
application/jira/v1/config/tasks.json Outdated Show resolved Hide resolved
@YCK1130 YCK1130 force-pushed the YCK1130/jira-action-schema branch from 7ea57c1 to 31febb9 Compare July 30, 2024 23:05
@YCK1130 YCK1130 requested a review from chuang8511 July 31, 2024 09:55
@YCK1130 YCK1130 force-pushed the YCK1130/jira-action-schema branch from 31febb9 to c814e8d Compare July 31, 2024 09:56
@YCK1130 YCK1130 force-pushed the YCK1130/jira-action-schema branch 2 times, most recently from f3c103b to a74e5fc Compare August 11, 2024 23:26
@YCK1130 YCK1130 changed the title feat(jira): add action schema feat(jira): add action tasks Aug 12, 2024
Copy link
Member

@chuang8511 chuang8511 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few comments.

application/jira/v0/config/tasks.json Outdated Show resolved Hide resolved
application/jira/v0/config/tasks.json Outdated Show resolved Hide resolved
application/jira/v0/config/tasks.json Outdated Show resolved Hide resolved
application/jira/v0/config/tasks.json Outdated Show resolved Hide resolved
application/jira/v0/config/tasks.json Outdated Show resolved Hide resolved
application/jira/v0/config/tasks.json Outdated Show resolved Hide resolved
application/jira/v0/issues.go Outdated Show resolved Hide resolved
@chuang8511
Copy link
Member

Hi, @YCK1130
For ci failure, it is because here

She will fix it by today.

@chuang8511
Copy link
Member

Hi @YCK1130 I have fixed the test code.
Could you rebase again to confirm if CI is ok?
I will merge it after CI succeed.
Sorry for your inconvenience.

Copy link
Member

@chuang8511 chuang8511 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@chuang8511 chuang8511 merged commit e756e31 into instill-ai:main Aug 23, 2024
6 checks passed
donch1989 pushed a commit that referenced this pull request Aug 29, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.26.0-beta](v0.25.0-beta...v0.26.0-beta)
(2024-08-29)


### Features

* add milvus component
([#299](#299))
([a48c211](a48c211))
* add zilliz component
([#297](#297))
([92726ef](92726ef))
* **artifact:** improve artifact component
([#289](#289))
([44ea196](44ea196))
* **document:** improve document operator
([#287](#287))
([c0d8d31](c0d8d31))
* **hubspot:** add 4 tasks and modify Retrieve Association task and Get
Thread task ([#265](#265))
([62903ec](62903ec))
* introduce interfaces InputReader and OutputWriter
([#294](#294))
([e26ecef](e26ecef))
* **jira:** add action tasks
([#241](#241))
([e756e31](e756e31))
* make the API key be optional for Instill-Credit-supported component
([#305](#305))
([0f9a7b2](0f9a7b2))
* **openai:** revert go-openai and add support for streaming
([#301](#301))
([aa605fa](aa605fa))
* **openai:** use go-openai client
([#295](#295))
([aa20a16](aa20a16))
* **sql:** add ssl/tls input as base64 encoded and move engine to setup
([#282](#282))
([390e2b8](390e2b8))
* use error type for component definition not found error
([#302](#302))
([cfcee78](cfcee78))
* **web:** improve web operator
([#292](#292))
([1da84af](1da84af))


### Bug Fixes

* **document:** catch the error if there is no data in sheet
([#296](#296))
([21bebbd](21bebbd))
* **hubspot:** fix test code
([#298](#298))
([98c4261](98c4261))
* **text:** fix chunk position bugs
([#307](#307))
([cfc9076](cfc9076))
* **text:** fix the bug if there are 2 exact same chunks
([#308](#308))
([b58909f](b58909f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: 👋 Done
Development

Successfully merging this pull request may close these issues.

3 participants