Forums

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

Script workflow function : Clones an issue and links in a workflow - without attachments

Daniel Kim April 2, 2018

JIRA server: 7.3.8

Adaptavist ScriptRunner for JIRA: 5.3.9

 

Using ScriptRunner workflow function to clone/link an issue. I have below codes in [Additional issue actions] to avoid attachments to be cloned. however it doesn't seem to be working. 

Anything I can try? 

 

checkAttachment = {attachment -> false};

import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.MutableIssue

def user = ComponentAccessor.getUserManager().getUserByName('jeff.fulton')
issue.setAssignee(user)

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events