Hi there,
I am currently getting an array of issues from the issue search REST API, which includes the current priority of each issue. I would like to get the available priorities. This will allow me to change priority.
Can you tell me what is the best way to do that? Ideally, I could opt in to a field being expanded in my existing issue search call.
One possible way appears to be the GET /rest/api/3/priority API, but it is deprecated. I don’t see a replacement - could you help me by pointing it out?
Many thanks,
-Peter
Hello @PeterBrownlow1
Both the v2 and v3 Get Issue Priorities endpoints are still working and returning a valid set of all the priorities, so keep using them until a formal announcement is made as to what will replace them.
It’s most likely that those endpoints will be replaced with the experimental Priority Schemes endpoints, as they return the list of Priorities and their names and ids per scheme.
Thanks for the suggestion. I’m hoping to avoid having to redo my code when deprecated APIs are removed, but if there’s no other way for now then I’ll have to go down that path.