Forums

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

JIRA Behaviour script throws error for fields in non mapped projects create screen

Krishnakumar Parameswaran June 5, 2019

Hi,

 

I've a Behaviour script in initiator for create screen only for project x and its IssueTypes.

Now i'm getting the below error in another projects create screen which is having separate workflow and create screen.

Epic error.JPG

Can anyone help me on this ?

1 answer

0 votes
Antoine Berry
Community Champion
June 5, 2019

Hi,

If you are positive your behaviour does not apply to this project, you should check its field configuration, as well as the create transition validators. 

Krishnakumar Parameswaran June 5, 2019

Yes, I've checked field configurations for the second project. It seems to be fine and regarding the transition validates will be trigger once the form is submitted , in my case i'm not able to create issue. 

Antoine Berry
Community Champion
June 5, 2019

You will not be able to create the issue if you have a validator that specify that the Component field is required in the create transition, so make sure this is not the case.

Antoine Berry
Community Champion
June 5, 2019

And what I meant by checking the field configuration is checking that the component field is optional like on this screenshot (sorry if you knew that already) : 

image.png

Krishnakumar Parameswaran June 5, 2019

@Antoine Berry we are not using the system component field. we have a custom field for components which is currently optional.

 

Component.JPG

Antoine Berry
Community Champion
June 5, 2019

Have you checked the create transition validators of the workflow used by this issue type/project ?

Krishnakumar Parameswaran June 5, 2019

i checked the infected projects workflow. There is no workflow condition for this Issue Type / field 

Antoine Berry
Community Champion
June 5, 2019

Not sure if this what you mean, but I am talking about the create transition validators : 

image.png

image.pngOtherwise, I would check if there is a specific context for this custom field, and lastly check the behaviours again, or any other app that could have this functionnality. 

Krishnakumar Parameswaran June 5, 2019

Yes , i checked the same only 

Antoine Berry
Community Champion
June 5, 2019

Well if you have this issue since you added the behaviour it probably comes from here... could you provide a screenshoot of your behaviours configuration?

Suggest an answer

Log in or Sign up to answer