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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How do i get field details from saved filter through REST API. Edited

Hi Folks,

Scenario 1 : 

I am trying to get all field values of issues from saved filter by using below API.

API : https://XXXX:8443/rest/api/2/filter/2400/columns

I am assuming as a result I am  getting only field names which are defined for filter(please correct if i am wrong).

Eg: {"lable":"key","value":"issuekey"} , {"lable":"Summary","value":"summary"}

Does it means all data will be present in API result ?

I need data against each issues from this filter with filter defined fields.

Above API is correct ? or shall i use Below API?

Scenario 2 : 

API : https://XXXX:8443/rest/api/2/search?jql=fixVersion%20in%20versionMatch("^TEST.*")

 This API gives me all issues with all custom fields , how do i get only specific fields as result ?

 

Regards,

Amar

1 answer

Hi @Amar ,

you can do this in two steps:

1. Go to your /rest/api/2/filter/2400/ results and get value from "searchUrl" field

2. Send a new request to API using url from step no. 1


Best,

Michael

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