Hi,
How can I automate the following, let's assume I have a story and multiple tasks link to it. on transition changed i would like to find the newest task, (can be based on Jira ID or custom field), and create a sub subtask under it...
please advise.
thanks!
Hi Eran,
This is very easy to achieve with Automation for Jira. I've quickly implemented this myself to illustrate it to you. The rule would like the following:
I've added an Issue Transitioned trigger which will fire when an issue is transitioned to In Progress.
To make sure that the rule only acts on Story issues, I use a Compare Condition to check the issue type. The rule will only continue executing if the issue is a Story.
If the issue passes this check then I use a JQL Branch to change the issue that I'm working on from the Story to the issue that is the most recently linked issue.
Once I have branched onto working on that issue I use the Create Sub Task action to create a sub task.
You should find it relatively easy to do this in Automation for Jira. If you wanted to create the sub task in all the linked issues, then you would change from a JQL branch to a linked issues branch.
Please get in touch if you'd like any help with this.
Cheers,
Simeon [Automation for Jira]
Thanks for your feedback Simeon! very helpful.
will let you know if i have any question.
thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I recommend PowerScripts over any of the others. I have years of experience with ScriptRunner and JMWE but not with Automation for Jira. I would recommend Power Scripts for a host of reasons after having used it many times to solve a broad range of problems. The scripting language can SIL for short (i.e., Simple Issue Language) is very easy to learn and use. Power Scripts can replace JMWE, Create on Transition, Update on Transition, Clone Plus, Field Security for Jira and no doubt a host of others. Additionally, you can use Power Scripts in conjunction with Power Custom Fields to add SIL scripts right on a special Custom Field for SIL Scripts and do amazing things you just cannot do with Automation for Jira.
Regards,
Bryan McMillan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You would need an add-on for like Power Scripts, ScripRunner, Automation for Jira, JWME and so on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks! i am using Jira automation, what is the easiest way to implement it, let's assume i found the story and i need to search for the related issue, type = X , find the newest task and create a subtask...
thanks in advanced.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not that much familiar with Jira automation. Maybe someone will see the question and answer. I also added a tag for this question. This tag means that this question also concerns the Jira automation plugin. In this case the vendor will be notified of this question.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.