Feature #9835

REST API - List priorities

Added by Scott S almost 6 years ago. Updated about 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:REST API
Target version:2.2.0
Resolution:Fixed

Description

When a project has no default priorities, the GUI interface does not tell the user they need to set one (like trackers do).

This means that when using the api, there is no way to create an issue when there is no default priorities as its not possible to get a list.

It would be great if:
- A priority api list could be added to get priorities for a project
- The interface forced users to set a default like trackers do


Related issues

Related to Redmine - Feature #7402: REST API - Enumerations New 2011-01-21
Duplicated by Redmine - Feature #11169: Please add API to get priority list Closed

History

#1 Updated by Charles Shapiro almost 6 years ago

this API would also be beneficial for me...thanks

#2 Updated by Alex Last over 5 years ago

we also need "get priorities" in REST API. requested by multiple people.

#3 Updated by Maxim Zyukin over 5 years ago

That would be great!
Could you implement this feature, plz.

#4 Updated by Bruno Medeiros over 5 years ago

Really useful to have this done.

#5 Updated by Jean-Philippe Lang about 5 years ago

  • Subject changed from REST API - List priorities for when there is no default to REST API - List priorities
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.2.0
  • Resolution set to Fixed

Added in r10664. You can get priorities at /enumerations/issue_priorities.(xml|json)

Also available in: Atom PDF