We have a requirement where a sub-task of current issue should be transitioned. If a new sub-task is opened in the current issue with same EmpID, we want to close/transition the existing sub-task with same EmpID. We tried few JMWE post-funtions with no luck. We currently have JMWE, JSU and Project automation available. Any help with this issue will be highly appreciated.
you can achieve this using JMWE. On the Create transition of your sub-task workflow, you should add a Transition Related Issues post-function, configured as follows:
issue.parentObject?.subTaskObjects?.findAll{issue != it && it.get("EmpID") == issue.get("EmpID")}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Sadath Ali Syed
What is "EmpID"? Is that a custom field? If so, what type of field is it?
I think it might be possible to do this with Automation, but to work out the details I need to know what EmpID is.
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.
What type of data is entered in the field? Are spaces or non-alphanumeric characters ever included?
What version of Jira are you using and what version of Automation?
I work with Jira Cloud. I might be able to work out a solution in Automation there, but that doesn't guarantee that the same functionality would be supported on Jira Server Automation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
EmpIDs entered are alpha-numeric. Most of them enters it as abc123. However, few enter them as abc 123 (with space). We dont have validators/restrictions in place. Our Jira version is 8.13 server. Version of Automation for Jira is 7.3.3.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How sophisticated do you expect the EmpID matching to be? Would you try to implement something that would consider "abc123" and "abc 123" to be a match? You might want to consider adding some validation to that field so that you are more likely to get conclusive matches.
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.