Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-77102

Calling the project workflow schemes endpoint intermittently results in undefined workflow scheme IDs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Answered
    • Low
    • Ecosystem
    • None

    Description

      Issue Summary

      Calling the project workflow schemes endpoint intermittently results in undefined being returned as the workflow scheme ID. This was raised in response to https://community.developer.atlassian.com/t/calling-get-workflow-schemes-api-sometimes-returns-undefined-instead-of-an-id/50328.

      Steps to Reproduce

      1. Call /rest/api/2/workflowscheme/project
      2. Observe the value of values.0.workflowScheme.id

      Expected Results

      The value at step 2 always identified a valid workflow scheme ID.

      Actual Results

      The value at step 2 is intermittently undefined. 

      Workaround

      Call the endpoint again until a valid workflow scheme ID is returned.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmorrow@atlassian.com Dugald Morrow
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: