I am new to JIRA I want to get newly created JIRA id in my script i am using power script also i want to get the field values at the time of issue create event.
you can use :
Issue createdIssue = event.getIssue()
Then you can use the "createdIssue" to get the data in all the fields when the issue was created.
Hi Krishnanand,
Thanks for reply. As iam completely new to JIRA.i am using this script in listener issue created . now when issue is created in jira then i want to capture issue id and then i want to perform operations. Will above code will work which u gave. If yes how to check whether id is there in logs
Yes it will work when you configure your listener for Issue Created event. here is how your setup will look like:
Thanks it worked.
is it possible to get all fields of that issue created. Also I want to execute jar files
It looks like you're new here. Sign in or register to get started.