Forums

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

Use Post Function to Bulk Transition Issues in another project

Vijay Varadan
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 24, 2019

I have an issue in Project A. This issue contains a field with a Sprint #. When this issue is marked "Completed", I want to look up ALL the issues belonging to the Sprint # in another project and transition them to a given status.

Is this possible? Should I use a webhook instead of a Post Function?

2 answers

0 votes
Radhika Vijji _Innovalog_
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 24, 2019

Hi Vijay,

Do you have JMWE app? If yes you can do it this way:

  1. Add the "Link issues to current issue" post-function to link all the issues of Project B under Sprint # to the current issue.
  2. Add the Transition linked Issues post-function, with a delay of 3 sec, to transition all these linked issues to the required status.
  3. Add the Unlink issues post-function, with a delay of 3 sec, to unlink all the issues linked using post-function #1

Regards,

Radhika

Vijay Varadan
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 26, 2019

Thank you for your response. I am going to try this.

However I do have a followup question: I am not able to find ONLY the issues that were completed in a given Sprint #.

for example - if I look for issues that were moved to the QA Completed status in Sprint 1. its also bringing back issues that were moved from Sprint 1 -> Sprint 2 and completed in Sprint 2.

0 votes
Joe Chlimoun July 24, 2019

I've had a lot of luck with the Power Scripts plugin to perform these kinds of cross-context actions in SIL scripts.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events