Scriptrunner get issue key. issue def myIssueKey = myIssue.
Scriptrunner get issue key. Follow step-by-step guides to make magic happen in your favourite tools. Regards. Learn how other teams are using ScriptRunner to make life easier. issue def myIssueKey = myIssue. I can get the code to activate a shell script on the server side when an issue passes through a transition containing the scriptrunner post function. Get tips, tricks and thoughts from us and other ScriptRunner experts. getKey() Something like this should work if you are fetching from an event. Jul 13, 2020 · I have worked out part of the issue. def myIssue = event. If it is from a workflow, they a simple issue. Mar 20, 2021 · Why should I use ScriptRunner? How to use this blog article? Import packages Getting the issue object Getting the issue object in a listener script Getting the issue object in script postfunctions Getting the issue object by the issue key User related script examples Setting the current user as assignee Performing actions on behalf of another user Adding a user to the request participants in May 6, 2022 · ScriptRunner for Jira - Get issue details Ravi Sagar 8. Nov 26, 2020 · November 25, 2020 Hi @Zeeshan Malik Please try the getKey () method. If there is a matching row, store the value in the Team column as an entity property to the issue. key should normally return your issue key. The code also send the reporter ID parameter to the shell script. Get a personalised tour of your new favourite integration tool. However I can only get this to work when I manually enter the issue key. Jul 27, 2016 · how to get an "issue" in the ScriptRunner console w/o hard-coding the issue key? The subsequent code will be used as a post function so the followup to the above question is, after getting the code to work in ScriptRunner, how to modify the code (if modification needed) to run as a post-function? One possible way is to use Lookup Manger and ScriptRunner The Lookup Manager use the value in the Reporter field, get the Round Robin Assignment Table to search the Leader column. 51K subscribers Subscribed. Empower your clients and grow your business with ScriptRunner. ldmt vye winb rhcr klaiifj umnk omsm ugumlh twehtib ahdid