Forums

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

get issue.key

arno
Contributor
August 24, 2023

Hi All

Some colleagues want to prohibit users from storing attachments in jira. The attachment must be stored in the specified path associated with the publishing key, for example, www.test.com/TEST-101, where TEST-101 corresponds to the publishing key. I intend to use a text field to store the corresponding link, but I don't know how to get the issue key for the current issue

My code is as follows:


def filed= getFieldByName( 'link-test' )
def test = issues.projectObject.key
def value= " http://www.test.com " + test

field.setFormValue( 'value' )

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events