Forums

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

How to create jira ticket automatically to particular team based on custom field selection.

Srikanth May 15, 2019
Custom field is single choice.. field values are incident, problem,change and release. Whenever the users update the ticket with incident and release Automatically ticket should create in jira

1 answer

0 votes
Ed Gaile _Atlanta_ GA_
Community Champion
May 15, 2019

Couple of ways to do this.

If you have Script Runner, you can use behaviors.

If you have cPrime Power Scripts, you can use live fields and add a hook/watch to that field and script the issue creation.

I believe it can be accomplished with the Automation for JIRA plugin as well.

Srikanth May 15, 2019

I am new to script runner plugin, can you please provide the script

Srikanth May 15, 2019

Please help me on this issue.

Ed Gaile _Atlanta_ GA_
Community Champion
May 16, 2019

Srikanth -

You can start by reviewing the scriptrunner doco and look at samples. https://scriptrunner.adaptavist.com/latest/jira/quickstart.html 

and the Atlassian developer doc on creating an issue https://developer.atlassian.com/server/jira/platform/performing-issue-operations/ 

and this previous answer https://community.atlassian.com/t5/Jira-questions/Groovy-to-create-issues/qaq-p/818025

should give you everything to knock this out.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events