Suppose, I have created a story issue type name 123 and if I clone this story issue type the values from the original issue must be deleted.(Like some custom fields values and some linked issues must be deleted after cloning).
How to do that?
Is it possible through post function if yes how to write a postfunction for that?
Hi @Saudamini Deshmukh ,
You can indeed achieve that using a post function, that you would execute at the creation of a new issue. You may need to download the following add-on (Scriptrunner) which will give you access to new post functions such as the "Clear field value" post function, that you are going to need to achieve what you want to : https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=server&tab=pricing
You could also achieve the same goal using an Automation rule that you trigger when an issue is created. This would require the use of the following addon, which is free : https://marketplace.atlassian.com/apps/1211836/automation-for-jira-server-lite?hosting=server&tab=overview
Let me know if it helps,
Guilhem
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.