Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add epic link in jira api

yaogang xu
Contributor
May 6, 2019

This is my request

{
"fields": {
"project": {
"id": "1111"
},
"issuetype": {
"name": "test"
},
"priority": {
"name": "test"
},
"labels": ["Chandler"],
"customfield_10012": {
"id": "test"
},
"fixVersions": [{
"name": "11111"
}],
"summary": "test",
"customfield_14003": {
"name":"Checkout"
},
"description": "test"
}
}

customfield_14003 is epic link field,  I tried to pass its value in the request, but I got error

'String value expected as the Epic Key.' Is there anyone knows the correct format of passing epic link in jira api?

1 answer

0 votes
Vladimir Kibe April 16, 2020

You must enter string value:

"customfield_10006": "issuekey"

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events