Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create ticket subject based on selection in custom field

Hi All :-)

For internal IT, we are using a custom field in the portal to allow our users to request either access, software, or hardware. This is done via a custom field (picker) that has subcategories. What we want, is that when the user requests for example:

Software

 - Adobe Photoshop

...that the ticket summary will be auto generated to include both tiers of the custom field. In effect, the ticket would say something like this:

Request: Software - Adobe Photoshop

 

This would give us meaningful summary entries in the agent view that would be made in a consistent way, without any agent intervention.

Has anyone here done this before with the tools included in JSM and not via the Marketplace?

2 answers

1 accepted

6 votes
Answer accepted

Hey @Chris Stival 

Yes this is possible via Automation for Jira in Jira Cloud. With the help of smart values one can achieve this.

Please take a look at this rule I configured and it ran successfully changing the summary.

AAAA.png

Rule details:

Trigger: Issue Created

Condition: N/A

Action: Edit Issue --> Select "Summary" field.

In the Summary box add these 

Request: {{triggerIssue.fields.customfield_10057.value}} {{triggerIssue.fields.customfield_10057.child.value}} {{issue.summary}}

Note that as per your requirement you my have to change the customfield_id (in my case it was: customfield_10057) of the cascade field. And at the end have added a code to append summary too.

Result:AAAAA.png

 

Also you can add condition to the automation as per your requirement.

You can build on this sample provided :)

Hope this helps !

Regards,

Vishwas

Hi @Chris Stival You can do this by creating an Automation rule , using Automation for JIRA which comes by default in JIRA Cloud. Use trigger create issue and Action Edit issue. Select summary field and add json function. Some similar post link are shared below :- 

https://confluence.atlassian.com/jirakb/automation-for-jira-copy-parent-value-of-cascading-field-to-another-custom-field-1035240617.html

https://community.atlassian.com/t5/Automation-questions/Copy-two-cascading-field-values-from-Parent-to-Sub-task/qaq-p/1632481

 

Thanks

V.Y

Thanks V.Y. I'll give that a try :-)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,735 views 21 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you