Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Workflow: Creating a page by status change

Damla Naz Yilmaz August 28, 2018

Hey,

so I want that, when I am changing the status as example from 'work in progress' to 'completed' that a new issue creating page will open is that possible?

2 answers

1 accepted

1 vote
Answer accepted
Nir Haimov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 28, 2018

Actually you can do it with JS.

Simply call:

JIRA.bind(JIRA.Events.ISSUE_REFRESHED, function() {
if ($("#status-val span").text() == "Completed") {
$("#create_link").click()
}
})

Make the call from customfield description, the customfield must be visible in the issue view.

Make sure how the status really called "completed" or "Completed" or "COMPLETED", if you write it wrong, it will not work.

By the way i checked this in my instance before, so i know it works for sure.

Damla Naz Yilmaz August 28, 2018

have you maybe this solution also for script runner

Nir Haimov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 28, 2018

Sorry but no.

Scriptrunner run on the back-end, you are looking for a front-end solution so it can't be done from Scriptrunner.

Damla Naz Yilmaz August 28, 2018

okay but thanks!

0 votes
Eelke van der Nat August 28, 2018

I am afraid not, as far as I know you can automatically create a ticket when a certain transitioning is happening by using automation.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events