Would like to edit custom field when creating an issue

Mike Espitia March 8, 2024

Hello I would like get help on editing a custom field as soon as a ticket is created with a condition found on the freshservice ticket?

3 answers

0 votes
Mike Espitia March 10, 2024

Yes I am creating an automation that when I Jira ticket is created and a condition is set then the automation edits the issue by selecting a Ticket Type and Category? But when I select edit issue  under Choose fields I can't find the fields I am looking for.

0 votes
AG
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.
March 9, 2024

Hi @Mike Espitia 

Could you please elaborate a little on your requirement?

Regards

Asha

Mike Espitia March 10, 2024

Yes I am creating an automation that when I Jira ticket is created and a condition is set then the automation edits the issue by selecting a Ticket Type and Category? But when I select edit issue  under Choose fields I can't find the fields I am looking for.

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2024

Hi Mike - Welcome to the Atlassian Community!

What exactly is your process and what exactly are you wanting to do and when? 

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 10, 2024

Are the fields on the edit screen for the project? If you pull up the ticket itself, can you edit those fields manually?

Mike Espitia March 11, 2024

Hello John, yes the fields where created in the custom field section and they were added to the project. I can open the ticket and edit it manually.

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 13, 2024

Which Category field are you trying to use? If it is the one on Jira Work Management projects, that field is not currently available in automation. 

What type of field is the Ticket Type field? 

Is this project a Company-managed or Team-managed project? 

Mike Espitia March 14, 2024

the projects are under Company-Managed. The Ticket Type is a Selected List ( cascading) type.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 16, 2024

Can you share some screenshots? 

Mike Espitia March 29, 2024

Thank you for your help John,

I was able to create the JSON scrpt:

{
"update": {
"Ticket Type": [
{
"set": {
"value": "Freshservice",
"child": {
"value": "Service Request"
}
}
}
]
}
}

This works with conitinals. Would like to know if there was a way to use regular expression from the comment to fill the values.

 

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 3, 2024

You might can do that by creating a variable and then using the variable in the JSON. 

Suggest an answer

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

Atlassian Community Events