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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes it will work when you configure your listener for Issue Created event. here is how your setup will look like:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks it worked.
is it possible to get all fields of that issue created. Also I want to execute jar files
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check out https://library.adaptavist.com you will get examples
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.