how to add customfields in rest apis

I need to retrieve data related to particular substreams, here substream is my customfield. i am unable to add this customfield in rest query i tried in following ways

cf[14729]=AA: Analytics but it is raising error 

 "Error in the JQL Query: Expecting either 'OR' or 'AND' but got 'Analytics' "

then i tried in this way

customfield_14729.value = "AA: Analytics " but it is raising error

Field 'customfield_14729.value' does not exist or you do not have permission to view it

 

could someone help me to recover this

 

1 answer

This widget could not be displayed.
Alexey Matveev Community Champion Dec 26, 2017

Hello,

Your rest expects JQL query from you. 

customfield_14729.value = "AA: Analytics " is not a valid JQL query.

Open issue navigator and write a valid JQL query. In your case you need to find the name of the customfield_14729 and write something like this

"the name of your custom field" = "AA: Analytics "

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

139 views 2 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you