Skip to content

Commit

Permalink
fix(verbiage): renamed the link feature verbiage (#214)
Browse files Browse the repository at this point in the history
* fix(lint): fixed lint issues

* fix(verbiage): renamed the variable for link issue id
  • Loading branch information
maira-samtek authored Jun 20, 2024
1 parent d41cf2f commit 3c46553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ This feature allows for greater control over the closure process, ensuring that
Introduced in version 1.7.2, this feature facilitates the linking of newly created issues to a specified Jira issue ID using a desired link type. The link type can be any of the available Jira Issue Link Types such as 'Relates', 'Blocks', 'Duplicates', etc. To utilize this functionality, you need to set the following environment variables:

```
JIRA_FEATURE_KEY='Pj-12'
JIRA_LINK_ID='Pj-12'
JIRA_LINK_TYPE='Relates'
```

Expand Down
2 changes: 1 addition & 1 deletion src/macpro-security-hub-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ export class SecurityHubJiraSync {
let newIssueInfo;
try {
newIssueInfo = await this.jira.createNewIssue(newIssueData);
const feature_key = process.env.JIRA_FEATURE_KEY ?? "";
const feature_key = process.env.JIRA_LINK_ID ?? "";
if (feature_key) {
let linkType = "Relates";
if (process.env.JIRA_LINK_TYPE) {
Expand Down

0 comments on commit 3c46553

Please sign in to comment.