Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-62019

/rest/api/2/workflow should return Workflow IDs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • None
    • REST API
    • None

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Scenario

      Currently the REST endpoint /rest/api/2/workflow doesn't return Workflow IDs. This is inconvenient for users who would like to get the IDs for the related endpoints e.g. /rest/api/2/workflow/{id}/properties

      Refer to https://docs.atlassian.com/jira/REST/server

      Suggestion

      Return Workflow IDs with /rest/api/2/workflow

       Workflow IDs do not seem to be used anywhere in JIRA interface

      Workaround

      Currently it's only possible to get the Workflow IDs from the database:

      select id, workflowname from jiraworkflows;
      

            Unassigned Unassigned
            vdung Andy Nguyen (Inactive)
            Votes:
            25 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated: