You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'm trying to connect to the Jira API and retrieve all options for a custom field. From my research I will have to use "Get Create Issue Data" to retrieve this information. For context, I believe the company server is using the Rest API v2.
So I am trying to follow the instructions outlined here
I can retrieve all options for every project type with
But when I try to filter to only retrieve options for a specific project id with
It returns 404. I found the project id using inspect element and grabbing "value":"1603" that comes just after my desired project name.
Just wondering what I am doing wrong, this is my first time using the API, so I'm a little confused.
Hello @Chris Kwan
The projectIds is a parameter, and parameters are declared after the question mark, like this:
Next, you said "I believe the company server is using the Rest API v2" but the link in your post points to documentation for Jira CLOUD's v2 REST API documentation and you've added the tag 'cloud' to your question. You need to find out if you are using Jira Server or Jira Cloud as the REST APIs of the two can be quite different.
If your company is on Jira Cloud, you should think about using the v3 REST API, as development of v2 ended some time ago.
If your company is on Jira Server, there is no v3 REST API, only a v2 REST API and the documentation is here (this is for server v8.14.0, which is the most recent)