Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usecase added for Wrike #459

Merged
merged 23 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
21c1198
Added use case templates for wrike.
RaghuRam168 Jul 2, 2024
49ee866
Update template-metadata.json
RaghuRam168 Jul 2, 2024
75e13d9
Create Create a github comment when a comment is posted in wrike_inst…
RaghuRam168 Jul 2, 2024
7a1af78
Create Create a github issue according to the importance of wrike tas…
RaghuRam168 Jul 2, 2024
d2c5bae
Create Create a wrike task when a new issue is raised in github_instr…
RaghuRam168 Jul 2, 2024
89a966f
Update Create a github comment when a comment is posted in wrike_inst…
RaghuRam168 Jul 2, 2024
5922263
Update Create a github issue according to the importance of wrike tas…
RaghuRam168 Jul 2, 2024
100359e
Update Create a wrike task when a new issue is raised in github_instr…
RaghuRam168 Jul 2, 2024
c2a0034
Update template-metadata.json
RaghuRam168 Jul 2, 2024
bbd1923
Update template-metadata.json
RaghuRam168 Jul 2, 2024
b196f0d
Update template-metadata.json
RaghuRam168 Jul 2, 2024
1065062
Update Create a github comment when a comment is posted in wrike.yaml
RaghuRam168 Jul 5, 2024
9a08ac0
Merge branch 'main' into wrike
RaghuRam168 Jul 5, 2024
30fe46b
Merge branch 'main' into wrike
RaghuRam168 Jul 19, 2024
41ab582
Updated
Jul 19, 2024
ab33e18
Update Create a comment in GitHub when a new comment is posted in Wri…
RaghuRam168 Jul 19, 2024
b86f147
Update Create a task in Wrike when a new issue is raised in GitHub an…
RaghuRam168 Jul 19, 2024
ddc66f1
Update Create an issue in GitHub according to the importance level of…
RaghuRam168 Jul 19, 2024
99f9409
Update Create a comment in GitHub when a new comment is posted in Wri…
ireneapeter Jul 22, 2024
1726763
Update Create a task in Wrike when a new issue is raised in GitHub an…
ireneapeter Jul 22, 2024
5c87ef4
Update Create an issue in GitHub according to the importance level of…
ireneapeter Jul 22, 2024
2e35690
Update template-metadata.json
ireneapeter Jul 22, 2024
0bb5aed
Update template-metadata.json
Deepak-Ayilliath Jul 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
$integration: http://ibm.com/appconnect/integration/v2/integrationFile
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
type: event-trigger
connector-type: wrike
triggers:
CREATED_POLLER:
assembly:
$ref: '#/integration/assemblies/assembly-1'
input-context:
data: getComments_model
options:
subscription:
pollingInterval: 1
action-interfaces:
action-interface-2:
type: api-action
business-object: message
connector-type: slack
actions:
CREATE: {}
action-interface-1:
type: api-action
business-object: Comment
connector-type: github
actions:
CREATE: {}
assemblies:
assembly-1:
assembly:
execute:
- create-action:
name: GitHub Create comment
target:
$ref: '#/integration/action-interfaces/action-interface-1'
map:
mappings:
- IssueNumber:
template: '9'
- OwnerName:
template: nonibmapp
- RepoName:
template: appconet8yvv
- body:
template: '{{$Trigger.text}}'
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
- create-action:
name: Slack Send message
target:
$ref: '#/integration/action-interfaces/action-interface-2'
map:
mappings:
- OBJECT_ID:
template: C077JJM5VS6
- OBJECT_NAME:
template: channel
- text:
template: 'comment : {{$Trigger.text}}'
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: GitHubCreatecomment
$ref: '#/node-output/GitHub Create comment/response/payload'
- variable: flowDetails
$ref: '#/flowDetails'
name: Create a comment in GitHub when a new comment is posted in Wrike and notify through a Slack message
models: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
$integration: http://ibm.com/appconnect/integration/v2/integrationFile
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
type: event-trigger
connector-type: github
triggers:
CREATED_POLLER:
assembly:
$ref: '#/integration/assemblies/assembly-1'
input-context:
data: Issue
options:
OwnerName: nonibmapp
RepoName: appconet8yvv
parentFilter:
OwnerName: nonibmapp
RepoName: appconet8yvv
subscription:
timeZone: UTC
pollingInterval: 1
action-interfaces:
action-interface-1:
type: api-action
business-object: postFoldersByFolderIdTasks_model
connector-type: wrike
actions:
postFoldersByFolderIdTasks: {}
action-interface-2:
type: api-action
business-object: message
connector-type: slack
actions:
CREATE: {}
assemblies:
assembly-1:
assembly:
execute:
- custom-action:
action: postFoldersByFolderIdTasks
name: Wrike Create task
target:
$ref: '#/integration/action-interfaces/action-interface-1'
map:
mappings:
- description:
template: '{{$Trigger.body}}'
- folderId:
template: IEAGE3HGI5H3KSCJ
- importance:
template: Normal
- status:
template: Active
- title:
template: '{{$Trigger.title}}'
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
- create-action:
name: Slack Send message
target:
$ref: '#/integration/action-interfaces/action-interface-2'
map:
mappings:
- OBJECT_ID:
template: U06FMLMPXK6
- OBJECT_NAME:
template: user
- text:
template: New {{$WrikeCreatetask}} created in wrike.
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: WrikeCreatetask
$ref: '#/node-output/Wrike Create task/response/payload'
- variable: flowDetails
$ref: '#/flowDetails'
name: Create a task in Wrike when a new issue is raised in GitHub and notify through a Slack message
models: {}
Loading
Loading