Forums

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

Prevent issue from Canceled or Resolved status if open linked issue

Ste404
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 6, 2023

Hi there,

I know I can set this in the workflow for subtasks to prevent the main issue being closed, but what if there is an open linked issue.

Has anyone come up with an automation to bounce an issue back to In Progress from Canceled or Resolved if the linked issue is not in one of it's closed status (Rejected or Delivered) in my case.

Thanks.

2 answers

3 votes
Evgenii
Community Champion
July 6, 2023

Hi, @Ste404 

Usually it's made with conditions or validators in workflow, but if you decided to make it with Automation, you don't need to make additional variables. It can't be solved in this way. Automation triggers after event happens.

So, you'll either have to add one more intermediate status, for checking, that all required data is completed, or take a look at conditions/validators.

3 votes
Ste404
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 6, 2023

ok I have this sorted but I am stuck with the form that is added when the issue is resolved.

Basically I have a related issue condtion that checks all the linked issues to see if;

"status not In(Delivered, Rejected)"

if that is met then create a variable called "LinkedIssueStatus" and I set it to "StillOpen"

Then I just have a if check on the variable to see if the value is "StillOpen"

then transition to In Progress and I add a comment just to say it has been put back.

BUT.. when the issue hits Resolved the Customer Satisfaction form is added to the issue.

My issue successfully goes back to In Progress but now I am stuck with a form I don't want.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events