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,
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events