Forums

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

How get General Info in Project Fields of Project?

Mykola
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 3, 2020

Hello, community!

How can I get information, like "Contact Details" in general Info of Project?
I found GET /rest/api/2/project/{projectIdOrKey}/components in documentation but I'm not sure that this is what I need.

I need something like GET /rest/api/2/field/{fieldId}/contexts, but for Project :)

I will be very grateful for your help!

1 answer

0 votes
David_Bakkers
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.
March 4, 2020

A GET query to the /rest/api/<version>/project endpoint returns all the values for the Project. When I have a look at the schema for that endpoint, there is no returned value 'Contact Details'.

You seem to be looking for a value that doesn't exist.

Why not try putting the contact information in the Project Description instead. At least that's a value you know you can lookup via the REST API

Suggest an answer

Log in or Sign up to answer