Forums

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

How can I use the Jira Cloud API to access a Test Case's custom fields?

Daniel Schwartz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 12, 2019

My company is using Jira to keep track of test scripts, among other things.  I can use the Jira API to extract some information about the Test Case records in Python Code.  However, I can't find anything in the API docs to help me extract data from custom fields.

(Specifically: my tests have a custom field called Automation Path, containing a path and filename.  This shows up in Jira's Web app under "More Information".  I can access other fields of the test using GET /testcases, as documented in the V2 API docs here:  https://docs.adaptavist.io/tm4j/cloud/api/v2/#tag/Test-Cases.  But I can't find a way to retrieve custom fields.)

I know this is possible, because the Jira Web app does it, and displays the information I need.  How can I do this?

Many thanks,
Daniel

2 answers

Suggest an answer

Log in or Sign up to answer
0 votes
Julien Messer May 17, 2020

I would also appreciate an answer for this topic. Nothing is referenced in the API

0 votes
Scott Nowacki January 23, 2020

Hey Daniel. Have you maybe got any solution for you question? I'm facing the same problem, that I would like to get access to some custom fields in Jira/Adaptavist, but can not find a way for that. 
Would appreciate if you could share your solution if you have any. Regards.

TAGS
AUG Leaders

Atlassian Community Events