Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cloning an issue

sravani vennapusa March 27, 2025

We have created a behaviors for restricting fields if user select issue found In as Production and environment as pre -- production and also vise versa it should not be allowed. It is working fine . But if I'm cloning an issue I'm not able to restrict fields. Is there a way to restrict fields while cloning an issue.

Thanks. 

2 answers

0 votes
Ramin Shanehsaz _Computerra_
Atlassian Partner
March 28, 2025

Hi,

Behaviours can only restrict fields in the screen while creating or editing an issue (front-end). While cloning an issue the behaviour will not be applied. When editing the issue after cloning, the behaviours should apply again, if they are configured correctly.

If you want to have restrictions while cloning, you need to enforce some "back-end" checks by adding validators in the "Create" transition of your workflow.

sravani vennapusa March 28, 2025
0 votes
Valerie Knapp
Community Champion
March 28, 2025

Hi @sravani vennapusa , thanks for your post.

When you use the word 'behavior', do you mean you are using ScriptRunner for this?

If so, I would go ahead and tag them and behaviours into this post so we can signpost more experts here.

Best wishes

sravani vennapusa March 28, 2025

yes it is script runner behavior.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events