You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
I'm trying to automate the following scenario.
I have a Jira project and I would like to build an project agnostic automation. This project which I will call "ProjA" will hold the automation for its issues based on the status of N projects issues, I will call these projects as "ProjN". It would be like "When a linked issue changes its state, change the state of my issue", but from ProjA perspective.
I would like to know if there's any way to do the following
Why am I doing the above instead of not creating the automation rule in ProjN?
Because I don't want to do any manual work when a project is deleted or a new one is created, I would like the rule to be agnostic. The link between ProjA and N Projects will be detected automatically by the link between the Issues.
I don't see any When trigger saying like:
"When: the linked issue transition to some status"
So, this, the scenario I just explained, is even possible?
Thx a lot! : )
Use can try with JMWE plugin Transition Issue(s) Post-Function option to transition the current issues based on the Linked Issues transition. This Post-function has to added in the Linked Issues workflow
I don't see any When trigger saying like:
"When: the linked issue transition to some status"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> I have a Jira project and I would like to build an project agnostic automation.
Global rules can be configured from the global admin automation screen. Navigate to "Rule details" of a rule and look at the rule "Scope".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thx for your answer @wwalser
In your suggestion I would be creating a global rule including two or more known projects, so I would be basically including multiple projects inside the same automation. This means I need to:
1. include and understand the workflow of N projects to create the automation
2. Make sure the automation don't break other projects since I do not want the rule to exist globally, only for the projects where I moved my cloned issues.
3. Make sure I'm including new projects to my multi-project rules and so on..
I can't create a global(including all projects) rule or I would be overloading the jira instance. I would like to jira to keep track of the links between projects.
I basically just want to have an eye on the issues linked to my project's issues. Not caring about other projects workflows and ways of working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I appreciate the question and have tried to give an answer, however it seems to me that some of the requirements as stated are in contention with the only available methods of solving the problem. If all of the stated requirements are ridgid, I do not believe you'll be able to accomplish your goal.
You could listen for an 'cloned' issue link being created with a single project rule, no dramas there. However, you get into different waters with the next steps of the use-case:
3. ProjA has an automation rule to check for the status of the "is cloned by" linked issue.
- The rule says: "When Issue 2 changes its state to Done, transit the Issue 1 to Done."4. Then, the automation runs and the issue 1 in ProjA is transited to Done
- Issue 2 is Done, then Issue 1 is Done as well.
There is no way to setup ongoing tracking of the newly created issue which may reside in a separate project without… listening to that separate project. This seems almost tautological.
I suppose I understand the premise of listening via the proxy of an issue link but that's just not the way that Jira works. Automation could present an abstraction which makes it appear that this is what we're doing, but under the covers it would be doing the exactly what you're opposed to doing: listening to all changes and checking if they link to issues within the project that we care about.
I can't create a global(including all projects) rule or I would be overloading the jira instance. I would like to jira to keep track of the links between projects.
It's possible that you have a very active jira instance and this is true, but I'd give it a try. A rule which listens to issue changes and immediately runs a condition to check its issue links should be relatively quick in the 99% case that there is no link which the rule cares about (and therefore ceases execution).
1. include and understand the workflow of N projects to create the automation
This, again, seems obviously necessary in your initial problem statement. If creating a global rule which does nothing other than check issue links and transition statuses would… by its nature necessitate understanding the transition statuses of other projects. Perhaps I have misunderstood, but it seems that your use-case and the requirements for achieving said use-case are at odds with one another.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @wwalser
I really appreciated your answer! Thx!
Also thx for confirming that it's not possible to have a trigger like condition to the linked issues of my stories without including the projects, specifically or globally, where the linked issues exist.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm interested in the update issue based on linked issue. This doesn't need to be a global automation. Project level is fine as long as it can read status from an issue in another project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are a couple of different solutions and they are both listed here: https://community.atlassian.com/t5/Jira-Service-Management/quot-When-A-linked-issue-is-transitioned-quot-in-new-Automation/qaq-p/1535588
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Brant Schroeder
Thx for your answer.
Both solutions describe rules in the project ProjN, that's unfortunately not what I'm trying to achieve.
I would like to have automation in ProjA(a single, alone, project) that will be watching for changes on its stories linked issues.
* ProjN can be any unknown project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.