Forums

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

How to do an automation for linking issues when adding a parent between two projects?

Janne Jääskä
September 19, 2023

Some background information:

  • Project A hosts Epics and Tasks
  • Project B hosts Initiatives (Initiatives are done through epics in multiple projects, and for clarity's sake I'm only mentioning one project where the Epics are)
  • Epics are the child issues for the Initiatives in Project B
  • We want to have the Epics as Child Issues and as blocking issues for the Initiative to facilitate the use of the timeline and dependency report in Advanced Roadmaps

I'm trying to automate the following:

  • Parent Link added by the user to an Epic in Project A
    • Parent is an Initiative in Project B
  • Add an "Is blocked by" Issue Link to the Initiative from the trigger issue

I've tried the following automation in Project A:

  • When: Value changes for Parent Link
  • For: Parent
  • Then: Edit issue files
    • Linked Issues
      • Is blocked by: Trigger issue

This does not create the link between the Epic and Initiative. I've added both of the projects as the Scope for the Automation.

Any thoughts on how to get the Automation working?

Thanks.

2 answers

0 votes
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 Champions.
October 3, 2018

You need to look at each one individually, and you need to understand that many are not used in projects.  An App could be providing all manner of functions, and how you might want to count "project uses this" has different routes and complexities.

As a non-exhaustive list, consider these:

  • App that provides workflow post-functions - you need to read all the workflows to see where it is used, then map their usage by projects.
  • App that provides custom field - read the config to see what projects it is in, and the data to see if there is any usage in each project
  • App that provides a report - not used by projects at all, you'd need to track hits on the url.

As you can see from that, the answer really is "You need to examine each one in its own way"

0 votes
Sid
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 Champions.
October 3, 2018

Suggest an answer

Log in or Sign up to answer