Can I trigger updates in workflow status based on completion of linked tickets?

Hi, I'm trying to set up a new project issue system and process. The way we need this to work is as follows:

  1. We have a JIRA Project (IT Solutions) where all project initialisation and analysis takes place. Every project request will be assigned an ITS ticket.
  2. When we pass Analysis and Specification, we need to manage development. These are system-related, with different types of development (content, .Net, UI, etc) and each of these have their own project stream in Jira. These will be managed on separate tickets within the different projects from New Development through to Closed-Done.
  3. Once the above tickets are marked as Closed-Done, we want to trigger a status change in the ITS ticket to Ready for QA, so that the test team can pick them up and progress through to deployment.

My question is - whilst I know that I can't set the development tickets up as sub-tasks because they will be in a different JIRA project (this is necessary due to our internal org and reporting structure), can I link the tickets and then use the status value (Closed-Done) in one workflow of the linked ticket to trigger a change in the workflow status in the main ITS ticket? 

 

3 answers

Hi Paul,

Yes, you can do it using JIRA Workflow Toolbox plugin. There is more than one one to do it, but I think the most suitable is:

1) Use "Validation on linked issues" in transition to "Ready for QA" status in project ITS in order to block the transition while there are system related linked issues still not in "Closed-Done" status.

2) Add "Write field on linked issues or subtasks" post-function in transitions to "Closed-Done" status in the workflows of system related issues linked to issue in project ITS, in order to try to make progress the ITS issue to "Ready for QA" status each time a system related issue is closed. Only when the validator validator described in the previous step will be satisfied, the ITS issue will actually move to "Ready for QA" status.

In this post-function you will need to use as target field "Issue status (delayed writing)" or "Execute transition (delayed execution)". You have a similar use case explained in detail here.

If you have any doubts about how to do it, please give me more details of your use case and I will explain you exactly how to do it. The details I need are:

  • Issue types of system related issues.
  • Issue link types used to link ITS issue with system related issues.

Hi Fidel - 

I am trying to do the same thing. I am having a problem when I use the "Validation on Linked Issues" validator. 

When I set up this validator I get an unexplained "workflow error" in my workflow, which doesn't allow me to transition my Issue to Done.

Any idea where this kind of workflow error would come from?

Please, create an issue at http://support.workflowarts.com, and attach the following screenshots:

* The error message you are getting.

* The validator configuration.

Please, also tell the version of JIRA and JIRA Workflow Toolbox you are using.

Thanks.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,281 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot