I am working on one project so i have created a task (Task-1) in Two project area and another task (Task-2) in BMW project area. The information in both the Task remain same such as Title, Description etc.
I am logging hours for 3d in Task-1, now i want the same log hours to be updated automatically in Task-2. Because each time when i work on the one program i don't want manual effort to log hours in both the task.
Is it possible Using Automation rules or is there any other way .If any knows the solution please guide me here.
Thanks in advance
I believe you should be able to achieve the results you seeking, but it may require addition of a field to act as a key to link both of the issues, unless you are already linking the issues with something such as 'clones' or 'cloned by.'
You will also need the Scriptrunner Add-on (or another that can achieve the same result) to build an 'issueFunction in linkedIssuesOf' type query to find the linked issue you want to update.
The automation rule logic would follow something like this:
You could also create an automation rule that clones task-1 from project TWO to project BMW as a first automation rule, and then use the automation rule above to automate updating the hours.
That way you would only be maintaining one record and the other wouldn't need to be touched.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Richard I tried with above mentioned points with automation rules and listeners but both methods are working .is there any alternative approach please suggest me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you able to change the project restriction in the rule details section or expand the scope?
As an alternative option, you may be able to leverage the Jira API. In your Jira instance, do you have access to generate an API token?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes,i'm able to change the scope to multiple project,then i tried it .it showing success in audit logs but its not copying the worklog from one issue to another
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you provide more detailed screenshots of your automation rule?
I am trying to understand if you are trying to copy over a field value
- or if the logs of the issue are tracked automatically and you are trying to bring over the logged time.
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.