Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,726
Community Members
 
Community Events
168
Community Groups

How to link an issue to an epic in Jira CLI?

When creating an issue using Bob Swift Jira CLI, I see no parameter that allows me to link the issue to an existing EPIC.


createIssue-Jira.png

How can I link an issue (upon creation) to an epic in Jira CLI?

2 answers

1 accepted

1 vote
Answer accepted

Hello @Steve Raslan 

Welcome to the community.

I have not used the CLI before, but have you tried using the parent parameter to specify the Epic to which you want to add the issue?

Thank you Trudy for your help. That did work. I am new to Jira so that was very helpful. TAnd thanks for your welcome. 

Glad I could help.

Please mark my response as Answer Accepted to help other community members find the posts that include solutions.

Hello @Steve Raslan 

In Cloud the Epic Link is a custom field so you can just use the "field" parameter like this:

jira --action createIssue --project TP --issueType Story --summary "Test CLI" --field "Epic Link=TP-130"

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events