Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Searching for issues requiring approval via REST, response doesn't contain issue

ShawVMW
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 21, 2020
  • I created a workflow with a "Waiting for Approval" stage.  
  • I assigned this workflow to a Request type
  • as a portal user created one of these requests
  • I verified that the status was "Waiting for Approval"
  • I then assigned the ticket to myself.

At this point I would expect the following query to return the approval item but it does not:

https://api.atlassian.com/ex/jira/<my service desk id>/rest/servicedeskapi/request?requestOwnership=APPROVER&requestStatus=OPEN_REQUESTS&approvalStatus=MY_PENDING_APPROVAL&expand=requestType

Unfortunately, this query does not return any records.  What am I doing wrong here?  Is it true that the "waiting for approval" state is correlated with the "MY_PENDING_APPROVAL" and "APPROVER" request ownership?

Thanks!

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events