Forums

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

Script Runner create issue from WebUI Fragment

Jordan Berry
Contributor
February 27, 2020

Here is what I am trying to do:

Have a button live on an issue page, where the user can click it.

When clicked, I want that button to create another issue, inheriting some of the current issues field values.

In an ideal world, I would also like to be able to prompt a screen to get some user information, but that isn't a direct requirement right now

Is this something I can achieve with ScriptRunner? If so, how do I start getting the UI element to start calling a script?

It is working going through post functions, but I am trying to break this away from workflows, as they are getting messy.

 

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
brbojorque
Community Champion
January 12, 2020

Hi @Sam ,

Jira and ScriptRunner groovy works slightly different from pure vanilla java implementation.

Try to check out how these guys accomplish similar problems.

https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Send-post-http-request-via-scriptrunner-post-function/qaq-p/598870

https://community.atlassian.com/t5/Jira-questions/Send-a-HTTP-POST-as-a-post-function/qaq-p/312384

TAGS
AUG Leaders

Atlassian Community Events