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

Jira mc #346

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
25 changes: 10 additions & 15 deletions workflows/jira/versions/0.0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,18 @@ A set of templates to manage Jira issues

## Templates


1. [create comment](https://github.com/codefresh-io/argo-hub@main/workflows/jira/versions/0.0.1/docs/jira-create-comment.md)
2. [update comment](https://github.com/codefresh-io/argo-hub@main/workflows/jira/versions/0.0.1/docs/jira-update-comment.md)
3. [create issue](https://github.com/codefresh-io/argo-hub@main/workflows/jira/versions/0.0.1/docs/jira-create-issue.md)
4. [update issue](https://github.com/codefresh-io/argo-hub@main/workflows/jira/versions/0.0.1/docs/jira-update-issue.md)
5. [update issues from JQL](https://github.com/codefresh-io/argo-hub@main/workflows/jira/versions/0.0.1/docs/jira-update-all-from-jql.md)
6. [verify issue status](https://github.com/codefresh-io/argo-hub@main/workflows/jira/versions/0.0.1/docs/jira-verify-status.md)
7. [verify issue status from JQL](https://github.com/codefresh-io/argo-hub@main/workflows/jira/versions/0.0.1/docs/jira-verify-status-from-jql.md)
8. [issue transition status](https://github.com/codefresh-io/argo-hub@main/workflows/jira/versions/0.0.1/docs/jira-issue-transition-status.md)
9. [issue transition status and update](https://github.com/codefresh-io/argo-hub@main/workflows/jira/versions/0.0.1/docs/jira-issue-transition-status-and-update.md)


1. [create comment](https://github.com/codefresh-io/argo-hub/blob/main/workflows/jira/versions/0.0.1/docs/jira-create-comment.md)
2. [update comment](https://github.com/codefresh-io/argo-hub/blob/main/workflows/jira/versions/0.0.1/docs/jira-update-comment.md)
3. [create issue](https://github.com/codefresh-io/argo-hub/blob/main/workflows/jira/versions/0.0.1/docs/jira-create-issue.md)
4. [update issue](https://github.com/codefresh-io/argo-hub/blob/main/workflows/jira/versions/0.0.1/docs/jira-update-issue.md)
5. [update issues from JQL](https://github.com/codefresh-io/argo-hub/blob/main/workflows/jira/versions/0.0.1/docs/jira-update-all-from-jql.md)
6. [verify issue status](https://github.com/codefresh-io/argo-hub/blob/main/workflows/jira/versions/0.0.1/docs/jira-verify-status.md)
7. [verify issue status from JQL](https://github.com/codefresh-io/argo-hub/blob/main/workflows/jira/versions/0.0.1/docs/jira-verify-status-from-jql.md)
8. [issue transition status](https://github.com/codefresh-io/argo-hub/blob/main/workflows/jira/versions/0.0.1/docs/jira-issue-transition-status.md)
9. [issue transition status and update](https://github.com/codefresh-io/argo-hub/blob/main/workflows/jira/versions/0.0.1/docs/jira-issue-transition-status-and-update.md)

## Security

Minimal required permissions


[Full rbac permissions list](https://github.com/codefresh-io/argo-hub@main/workflows/jira/versions/0.0.1/rbac.yaml)

[Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/workflows/jira/versions/0.0.1/rbac.yaml)
2 changes: 1 addition & 1 deletion workflows/jira/versions/0.0.1/docs/jira-create-comment.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Create comment on Jira
### Inputs
* COMMENT_BODY (optional) - Text to add to the comment
* JIRA_API_KEY (required) - The Kubernetes secret with the jira access key
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the Amazon access key. Default is 'api-key'
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira api access key. Default is 'api-key'
* JIRA_BASE_URL (required) - Jira base url
* JIRA_ISSUE_SOURCE_FIELD (optional) - Jira issue ID or key source field
* JIRA_USERNAME (required) - The Kubernetes secret with the jira username
Expand Down
2 changes: 1 addition & 1 deletion workflows/jira/versions/0.0.1/docs/jira-create-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Create issue on Jira

### Inputs
* JIRA_API_KEY (required) - The Kubernetes secret with the jira access key
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the Amazon access key. Default is 'api-key'
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira api access key. Default is 'api-key'
* JIRA_BASE_URL (required) - Jira base url
* JIRA_USERNAME (required) - The Kubernetes secret with the jira username
* JIRA_USERNAME_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira username. Default is 'username'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Transition the Issue status and update a single item

### Inputs
* JIRA_API_KEY (required) - The Kubernetes secret with the jira access key
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the Amazon access key. Default is 'api-key'
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira api access key. Default is 'api-key'
* JIRA_BASE_URL (required) - Jira base url
* JIRA_USERNAME (required) - The Kubernetes secret with the jira username
* JIRA_USERNAME_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira username. Default is 'username'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Transition the Issue status on a single item

### Inputs
* JIRA_API_KEY (required) - The Kubernetes secret with the jira access key
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the Amazon access key. Default is 'api-key'
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira api access key. Default is 'api-key'
* JIRA_BASE_URL (required) - Jira base url
* JIRA_USERNAME (required) - The Kubernetes secret with the jira username
* JIRA_USERNAME_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira username. Default is 'username'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Verify Issue Status on Issues from JQL Query

### Inputs
* JIRA_API_KEY (required) - The Kubernetes secret with the jira access key
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the Amazon access key. Default is 'api-key'
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira api access key. Default is 'api-key'
* JIRA_BASE_URL (required) - Jira base url
* JIRA_USERNAME (required) - The Kubernetes secret with the jira username
* JIRA_USERNAME_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira username. Default is 'username'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Verify Issue Status on Single Issue

### Inputs
* JIRA_API_KEY (required) - The Kubernetes secret with the jira access key
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the Amazon access key. Default is 'api-key'
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira api access key. Default is 'api-key'
* JIRA_BASE_URL (required) - Jira base url
* JIRA_USERNAME (required) - The Kubernetes secret with the jira username
* JIRA_USERNAME_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira username. Default is 'username'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Update all issues on Jira from JQL

### Inputs
* JIRA_API_KEY (required) - The Kubernetes secret with the jira access key
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the Amazon access key. Default is 'api-key'
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira api access key. Default is 'api-key'
* JIRA_BASE_URL (required) - Jira base url
* JIRA_USERNAME (required) - The Kubernetes secret with the jira username
* JIRA_USERNAME_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira username. Default is 'username'
Expand Down
2 changes: 1 addition & 1 deletion workflows/jira/versions/0.0.1/docs/jira-update-comment.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Update comment on Jira
### Inputs
* COMMENT_BODY (optional) - Text to add to the comment
* JIRA_API_KEY (required) - The Kubernetes secret with the jira access key
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the Amazon access key. Default is 'api-key'
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira api access key. Default is 'api-key'
* JIRA_BASE_URL (required) - Jira base url
* JIRA_ISSUE_SOURCE_FIELD (optional) - Jira issue ID or key source field
* JIRA_USERNAME (required) - The Kubernetes secret with the jira username
Expand Down
2 changes: 1 addition & 1 deletion workflows/jira/versions/0.0.1/docs/jira-update-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Update issue on Jira

### Inputs
* JIRA_API_KEY (required) - The Kubernetes secret with the jira access key
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the Amazon access key. Default is 'api-key'
* JIRA_API_KEY_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira api access key. Default is 'api-key'
* JIRA_BASE_URL (required) - Jira base url
* JIRA_USERNAME (required) - The Kubernetes secret with the jira username
* JIRA_USERNAME_SECRET_KEY (optional) - The key in the Kubernetes secret with the jira username. Default is 'username'
Expand Down
20 changes: 10 additions & 10 deletions workflows/jira/versions/0.0.1/workflowTemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
argo-hub/owner_email: '[email protected]'
argo-hub/owner_avatar: 'https://github.com/matthewchungcodefresh.png'
argo-hub/owner_url: 'https://github.com/matthewchungcodefresh'
argo-hub/icon_url: "https://github.com/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub/icon-background: "#f4f4f4"

spec:
Expand All @@ -21,7 +21,7 @@ spec:
metadata:
annotations:
argo-hub-template/description: 'Create comment on Jira'
argo-hub-template/icon_url: "https://github.com/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_url: https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_background: "#f4f4f4"
retryStrategy:
limit: "3"
Expand Down Expand Up @@ -80,7 +80,7 @@ spec:
metadata:
annotations:
argo-hub-template/description: 'Update comment on Jira'
argo-hub-template/icon_url: "https://github.com/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_background: "#f4f4f4"
retryStrategy:
limit: "3"
Expand Down Expand Up @@ -137,7 +137,7 @@ spec:
metadata:
annotations:
argo-hub-template/description: 'Create issue on Jira'
argo-hub-template/icon_url: "https://github.com/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_url: https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_background: "#f4f4f4"
retryStrategy:
limit: "3"
Expand Down Expand Up @@ -212,7 +212,7 @@ spec:
metadata:
annotations:
argo-hub-template/description: 'Update issue on Jira'
argo-hub-template/icon_url: "https://github.com/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_background: "#f4f4f4"
retryStrategy:
limit: "3"
Expand Down Expand Up @@ -278,7 +278,7 @@ spec:
metadata:
annotations:
argo-hub-template/description: 'Update all issues on Jira from JQL'
argo-hub-template/icon_url: "https://github.com/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_background: "#f4f4f4"
retryStrategy:
limit: "3"
Expand Down Expand Up @@ -344,7 +344,7 @@ spec:
metadata:
annotations:
argo-hub-template/description: 'Verify Issue Status on Single Issue'
argo-hub-template/icon_url: "https://github.com/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_background: "#f4f4f4"
retryStrategy:
limit: "3"
Expand Down Expand Up @@ -398,7 +398,7 @@ spec:
metadata:
annotations:
argo-hub-template/description: 'Verify Issue Status on Issues from JQL Query'
argo-hub-template/icon_url: "https://github.com/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_background: "#f4f4f4"
retryStrategy:
limit: "3"
Expand Down Expand Up @@ -452,7 +452,7 @@ spec:
metadata:
annotations:
argo-hub-template/description: 'Transition the Issue status on a single item'
argo-hub-template/icon_url: "https://github.com/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_background: "#f4f4f4"
retryStrategy:
limit: "3"
Expand Down Expand Up @@ -510,7 +510,7 @@ spec:
metadata:
annotations:
argo-hub-template/description: 'Transition the Issue status and update a single item'
argo-hub-template/icon_url: "https://github.com/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/workflows/jira/assets/icon.svg"
argo-hub-template/icon_background: "#f4f4f4"
retryStrategy:
limit: "3"
Expand Down