How to use custom field on post-functions in Jira v8.8.0 ?

Ciryl Tavian May 9, 2023

Hello ! 

I am currently working with JIRA on-premise (v8.8.0) and I have several questions related to its usage.

The first question is: How can I use post-functions to automatically move a ticket with a specific epic name to a different state in my workflow?

For instance, let's say I have a ticket of type "Support" and I want to move it directly to the "To do" state in the current sprint without having to move it manually. Is it possible to achieve this using post-functions?

Secondary question:

Is it possible to automatically add the current sprint to the ticket's "Sprint" field upon creation?

2 answers

0 votes
David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 9, 2023

Hi @Ciryl Tavian 

You can achieve this using the JMWE app. However, if you're still on Jira Server and have not yet upgraded to either Jira Data Center or Jira Cloud, you won't be able to purchase any new app anymore, as Jira Server has been discontinued by Atlassian. 

Do you already own JMWE?

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 9, 2023

Welcome to the Atlassian Community!

No you can not do this.  Post-functions run as part of a transition, and you can't execute a transition during a transition.

You can transition other issues in a post-function though, and you can create automations or scripts that can transition issues as soon as the current one is finished.

Do you have one of the scripting or automation apps?

Ciryl Tavian May 11, 2023


Hello, thank you for your feedback. No, I don't have any third-party applications to manage automation (if that's the question), I wanted to use the default post-function on the transition between "Creation" -> "Backlog" to redirect tickets to "Todo" if they have an epic == "Supports".

But maybe this is not a very suitable use on JIRA. Also, I would like to use a default function to modify the ticket to automatically add the current sprint, but again I'm not sure if this is possible.

Do you have any ideas for third-party applications?

Thanks in advance,


Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events