Script-Runner Post Function create a sub-task uses wrong Screen Scheme


Our Project has two issue-types A (parent issue) and B (sub-task issue). Both have their own Screens and Screen-Schemes.

1. If I create a sub-task B in the parent-issue A (more -> create sub-task) it uses the right Screen Scheme. Everythings fine so far.

2. But if I create a sub-task B with a Post Function on a transition (script worklflow function) it uses the Screen-Scheme from parent-issue A but it normally should use its own Screen Scheme.

I don't know what I'm doing wrong...?




1 answer

1 accepted

This widget could not be displayed.

I don't think you have understood how these things work together.

A post function is something that happens in a workflow.  You move from one status to another through a transition, and the post-function runs during that transition.

Post-functions have nothing to do with screens

An "issue type screen scheme" tells your project what "screen scheme" to use for each issue type, and those tell it which screen to use for create, edit and view.

In your description, JIRA is behaving correctly.  Sub-task B is using the screens you've told it to in the issue type screen scheme.

Thank you Nic.

You were right, we mistakenly used the wrong screen in our transition. 


Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

182 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you