Forums

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

Update issue status when an issue of issue type X linked

Stuart Barker March 10, 2023

Hi

I believe I can do this using automation but am struggling to get it to work. I have two issues:

ISSUE 1 of TYPE Requirement

ISSUE 2 of TYPE Test

 

There is a issue linking relationship set up called "Requirement Tested" so that I can say ISSUE 1 is "tested by ISSUE 2 and conversely, ISSUE 2 "tests" ISSUE 1. 

 

When I therefore link a test to a requirement (or vice versa) I want the requirements status to change to "COVERED".

2 answers

0 votes
Stuart Barker March 10, 2023 edited

a

0 votes
Somnath Patil
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.
March 10, 2023

Hi Stuart,

 

You can try this Automation shown in the attachment.

Replace Issue Linked Type name , Status name and Issue Type name as per your requirement.

Test6.png

Stuart Barker March 10, 2023 edited

CAPS are for clarity only..... This doesn't quite work for me, let me be more explicit:

 

I have a linked type of "Requirement Tested", outward = "tests", inward = "is tested by".

 

I then have two issue types:

a requirement - can have a status of NOT COVERED, COVERED, TESTED

a test case - can have a status of PASS, FAIL, or NOT RUN

 

When I link a Requirement to a Test via "is tested by" I want the Requirements status to change to COVERED.

 

Similarly, if I link a Test Case to a Requirement by "tests" I would like the Requirements status to change to COVERED.

 

In pseudo code:

 

If issue linked THEN

  IF (issue type = requirement AND link type = "tested by") THEN

     SET current issue status = COVERED

  ELSE IF issue type = test case AND link type = "tests" THEN

     SET linked issue status = COVERED

  ENDIF

ENDIF 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events