How to implement post-function for create issue transition in JIRA?

Shreya Rawal March 5, 2015

We have a requirement to transition the issue to New status or Draft status based on a value selected in a custom field at the time of issue creation. What is the best way to implement it? We tired to implement it using JIRA Misc Workflow Extensions plugin but the plugin does not support issue transition during the create issue (https://innovalog.atlassian.net/browse/JMWE-271)

Thanks!!

1 answer

1 vote
Jonathan Muse
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 11, 2015

I am a big fan of the JJUPIN plugin and SIL. This could be done easily using it.

Example:

string key = "PRJ-232";
 
if(%key%.customfield_12345 == "Desired value") {
	autotransition("New Status", "PRJ-232");
}

https://marketplace.atlassian.com/plugins/com.keplerrominfo.jira.plugins.jjupin

Suggest an answer

Log in or Sign up to answer