ankitpokhrel / ankitpokhrel/jira-cli

New Issue is not linked to Epic.

Offen
#282 14 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
help wanted
Vorherrschende Sprache
Go
Sterne
6k
Forks
412
Ø Merge
2 T. 3 Std.
Gemergte PRs (30 T.)
1

Beschreibung

**Describe the bug**
Creating an issue of type "Story" and trying to link that to a parent Epic doesn't seem to work.

1. JiraCLI Version:
```
(Version="v0.3.0", GitCommit="", CommitDate="", GoVersion="go1.17.5", Compiler="gc", Platform="darwin/arm64")
```

2. Are you using Jira cloud or on-premise jira server? Also mention the version for on-premise installation.
```
Jira Cloud - Classic project
```

3. What operating system are you using? Also mention version.
```
macOS Big Sur 11.6.2
```

4. What terminal are you using? Also mention version.
```
iTerm 2 Build 3.4.14
```

**To Reproduce**
1. Ran the command with the `-P` flag to link to an epic, as specified [here](https://github.com/ankitpokhrel/jira-cli/blob/main/README.md?plain=1#L288-L291). In my case `jira issue create -tStory -PMYEPIC-42 -amyemail@example.com`
2. Fill in the remaining fields (Summary & Description)
3. Story is created with the correct summary and description. It's also assigned to me, but not linked to the Epic as seen in the Story detail `Epic link` - It's set to `None`.

**Expected behavior**
Expected the task to be linked to `MYEPIC-42`.

---

As an aside, if I set the issue type to Sub-task, it seems to link it to the Epic properly, but the problem is that it doesn't show on the right pane on `jira epic view`. I tried some other types but none worked.
`jira epic view` seems to list all issue types linked to an epic but Sub-task.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.