Need to delete the work LOg after cloning issues, specifically for Epic, Story, and Subtask that were linked to Epic via Custom script Listener.If anyone has any ideas on this, please assist me with the script.thanks in advance
I'm Luka from codefortynine.
If you are willing to use a third-party app for cloning, you could try our Deep Clone for Jira. Deep Clone can be configured so that only values you want are cloned. Deep Clone won't clone work logs as long the option isn't checked (which it isn't by default).
I think in this listener that is linking issues you need to check if linked issue has a worklog and if there is any then just delete it using rest API:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Krystian Różycki is it possible to do it through automation rules in JIra to delete the worklog after clone?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think yes with properly described triggers and conditions.
Here you can find more information:
https://confluence.atlassian.com/automationkb/automation-rule-to-remove-worklog-1252330334.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Krystian Różycki I Applied this Automation Rule ,In place of webhook url i used https://your-domain.atlassian.net/rest/api/3/issue/projectkey/worklogid. in Header i provided useremail:personal token .but its not working and i'm facing below error when i gone through the logs ,may i know the reason please . Thanks in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why header is not allowing Delete option ,If any one have idea on this issue please let me know please .thanks in advance
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.