Forums

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

Is there any API to get next or previous ranked issue of particular Jira issue?

Admin
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!
July 17, 2020

When I change rank of a jira issue, jira webhook event does not provide next/previous ranked issue id which is required to update the issue rank in target system. Is there any way to get the previously ranked issue id of updated issue?
For ex., required payload:

{
"Rank":{
"Source":"Epic:3335",
"Action":"Before",
"Target":"Epic:3337",}
}

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 31, 2020

Hi @Admin -- Welcome to the Atlassian Community!

Maybe you could try is to get all the epics with a webhook JQL ordered by Rank, and then grab the one immediately before your target epic.


Best regards,

Bill

Admin
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!
August 3, 2020

@Bill Sheboy It means there is no direct API to get next/previous issue. I'll go with JQL then, thanks much!

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer