Forums

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

Error which doesn't enable cloning an issue

Eitan Gur
Contributor
April 11, 2018

"com.atlassian.jira.exception.createexception: Error occurred while creating issue through workflow"

message appears - no indication why. Any info? Directions to investigate?

will be appreciated.

Thanks

2 answers

1 accepted

3 votes
Answer accepted
Marcos Sanchez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 11, 2018

Hi,

Do you have any condition or validation in your create transition?

It may be one of the things to check.


Regards,
Marcos

Eitan Gur
Contributor
April 11, 2018

Thanks.

Checked - nope.

Marcos Sanchez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 11, 2018

Do you have access to logs? 

Maybe it could have more information about your error.


Regards,
Marcos

Eitan Gur
Contributor
April 15, 2018

Yes I checked the logs as well - it wasn't so indicative.

However now I could reach the correct workflow of the issue and the first direction you proposed was correct - create issue status in the workflow included validator which condition wasn't fulfilled for the clone operation.

Once I aligned the issue to fulfill these conditions the clone was successful.

@Marcos Sanchez thank you for your help! 

Like Monish BS likes this
Marcos Sanchez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2018

It's great to hear that!

Have a nice day,
Marcos.

Liam Maeder
Contributor
April 4, 2019

Good Day

I also had this problem but found that there was a validator, who's error message was not passing through correctly, on the create step. After making sure the required field was populated, it all worked perfectly.

I thought I wwould share this in case any one else is experiencing the same issue.

Warm Regard
Liam

Like # people like this
Rashmi BM
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 5, 2021

Hi @Liam Maeder  & @Warren Kent 

What was the field that needed update in the issue going to be cloned. Kindly suggest.

Thanks,

Rashmi.

Warren Kent
Contributor
May 5, 2021

Hey Rashmi,

I cant recall the exact field - it might have been a custom or system field. i would suggest checking the issue's workflow (specifically the create flow) and see if you have any validation in place for specific fields and check to see that those fields all have a value. If not, then put something in and see if this resolves your cloning issue.

0 votes
Warren Kent
Contributor
August 13, 2020

We introduced a validation on our project's workflow on the create transition. We then tried cloning a ticket that was created before the new validation was enforced on the workflow and ended up getting the error. The resolution here was to populated the field with a value on the "older ticket" and you would then be able to clone the ticket accordingly.

Suggest an answer

Log in or Sign up to answer