The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Get the issue id from script runner post function

ariel lumbroso
August 1, 2021

Hi ,

I am triggering a post function with script runner when an issue is changing status .inside my script runner script i want to be able to get the issue id that triggered that function .

How can i do that please ? i am running Jira cloud.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Hana Kučerová
Community Champion
August 1, 2021

Hi @ariel lumbroso ,

would you please share your script with us? Thank you.

ariel lumbroso
August 1, 2021

HI Hana,

Actually there is nothing relevant to share as my first step in the script I want to run is get the issue id that triggered it.

Hana Kučerová
Community Champion
August 1, 2021

Hi @ariel lumbroso ,

have you tried just simple

issue.id

?

ariel lumbroso
August 1, 2021

that did the trick.. thanks !