i can't create an Iusse(customfield_10008) using Rest API python

bowei bai October 9, 2020
  • issueTopic = { 
    'project':{ 'key':'PROJECT'},
    'summary':'summary',
    'description''descriotion'
    'issuetype':{ 'name''Task' },
    'customfield_10008':'epic name',
    }
    new_topic = jira.create_issue(fields = issueTopic )
  • Here are the error messages:
    response text = {"errorMessages":[],"errors":{"customfield_10008":"Field 'customfield_10008' cannot be set. It is not on the appropriate screen, or unknown."}}
  • This is operational:
    print
    (issue.fields.customfield_10008)

1 answer

1 accepted

0 votes
Answer accepted
Niranjan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2020

Hi @bowei bai ,

I see that you are trying to create issue type Task and add a custom field "Epic Name". Kindly be informed that Epic Name is to be used only on Epics. You should not be adding the "Epic Name" field  on other issue types.

If you want to link Task and an existing Epic , you should be using "Epic Link" field in Task .

bowei bai October 9, 2020

thank you for your reply...the problem has been solved.

Like Cindy Bazan likes this

Suggest an answer

Log in or Sign up to answer