Forums

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

Automation Rule: Copy data from single select list to text box.

Neeta Dubey
Contributor
August 6, 2024

Hi Team,

I creating ticket in JSM project and written a rule which created ticket in Jira project, however I want to copy data from select list "GCSD_Region" [in JSM project]to Region field[In jira project] and it shows below error. Please help if any solution is available.

 

Unknown fields set during create, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -
GCSSD_Region (customfield_20068)
Issues created successfully.

 

 

 

gcssd region.png

2 answers

0 votes
Walter Buggenhout
Community Champion
August 6, 2024

Hi @Neeta Dubey,

If you want to set the value for a custom field while you create a ticket, that field should be on the create issue screen being used for the type of ticket you are creating in that specific project.

So check the project settings for your project, look for the screen being used for the create issue action for the issue type you are trying to create and make sure the GCSSD_Region  custom field is on that screen.

Hope this helps!

Neeta Dubey
Contributor
August 6, 2024

Hi @Walter Buggenhout :

Thanks for inputs, I'm copying rest all the fields and they are working as expected. The difference for this field is that, In the source project it is single select and trying to paste data in destination which is a text. I can manually create ticket in both the projects and both have fields presents.

Walter Buggenhout
Community Champion
August 6, 2024

I understand what you are saying, @Neeta Dubey. However, the error message is not saying that your custom field is not of the correct type. It is clearly saying that you are trying to set an unknown field

I now see though that you are using a copy from current issue action to set the value of the field in your target issue. You are referring to the GCSSD_Region field in both cases, which is not what you describe in your question. You said you wanted to copy the original field to another field in your target project. You should use the correct mapping between the fields there in your copy action. 

Tomasz Kowalczyk
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.
August 6, 2024

Ok, so what you're trying to do is to copy single select to text field. Have you tried to do it with smart values? like {{issue.GCSSD_Region.value}}

Walter Buggenhout
Community Champion
August 6, 2024

So you should be setting the Region field instead of GCSSD_Region.

Neeta Dubey
Contributor
August 6, 2024

Hi @Tomasz Kowalczyk / @Walter Buggenhout ,

I'm not getting option to set the smart value.smart value.png

Walter Buggenhout
Community Champion
August 6, 2024

Hi @Neeta Dubey,

You either copy the value from a field OR set a value where you can then enter a smart value.

If you hit the ... button right next to where you now see Copy GCSSD Region ... you can either select Copy what you have done now) or SET, which will replace the current text with a text box. There you can then type in the smart value. As long as you are now setting the correct field (which I can't tell as the pop up is right in front of the field name there), copying as you do has a good chance of working as well.

You should get rid of what you pasted in the Additional fields box there. You don't need that and it will result in other errors like this. 

0 votes
Tomasz Kowalczyk
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.
August 6, 2024

Do you have that field in destination project? First check configuration of that customfield. Maybe it's missing context but it look to me that field is not present on destination project.

Neeta Dubey
Contributor
August 6, 2024

Hi Tomasz, 

Appericate your quick response. It is present at the destination, but it is a short text field. Is that causing the problem?

Tomasz Kowalczyk
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.
August 6, 2024

Did you checked that field has context for destination and source project and just like @Walter Buggenhout said it has field in issue create screen? 

Neeta Dubey
Contributor
August 6, 2024

Hi @Tomasz Kowalczyk / @Walter Buggenhout :

Please see configuation of both the fields. Both are global fields.

source.pngdestination.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events