Forums

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

How to change the one project ticket status based another project ticket moved to particular status

Lakshmi CH
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.
January 19, 2022

Hi Team,

Project A ticket  is blocked by Project B. Project B ticket, when it moves to "ready for review" status I would like to the Project A ticket to change to the status Backlog.

We have JSU, Script runner and JMWE addon.

Could you please suggest anyone on this requirement.

2 answers

1 vote
Nic Brough -Adaptavist-
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.
January 19, 2022

With Scriptrunner (of course, as I'm an Adaptavist), there are a number of ways you can do this.

You've not specified what the trigger is or how you know which issue to transition in A (I'd guess it should happen on a transition and the issue in B is linked to the issue in A with a "blocked" type link)

Have a look through https://library.adaptavist.com/search?term=transition for something appropriate.

If my assumption is accurate, the first script you find about cloned issues is probably very close to what you need.

Vishwas
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.
January 19, 2022

This script is close to the requirement requirement https://library.adaptavist.com/entity/transition-the-original-issue-according-to-the-cloned-issue

@Lakshmi CH  please check and change as per your requirement

Lakshmi CH
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.
January 19, 2022

Hi @Nic Brough -Adaptavist- ,

 Sorry for the confusion. I have project A, when i move the status from in progress to Ready for review in project A, the linked (may be its relates, blocks,etc) Project B ticket should transition to Backlog automatically.

Nic Brough -Adaptavist-
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.
January 19, 2022

No confusion, just meant I couldn't be sure that the first script that search finds is the most appropriate.

It is though!

Lakshmi CH
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.
January 20, 2022

Hi Nic,

Should we use this in behavior or in workflow transition? We are on v8.20.1

Vishwas
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.
January 20, 2022

This should go in as Listener

0 votes
David Fischer
Community Champion
January 24, 2022

Hi @Lakshmi CH 

with JMWE, you can simply add a "Transition Related Issues" post-function to the "ready for review" transition, and configure it with the "blocks" link type and as the transition to trigger, whatever transition of project A brings the issue to the Backlog status.

Suggest an answer

Log in or Sign up to answer