Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

  • 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

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 .

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

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you