The problem with create subtask in postfunction.

Admin Admin October 16, 2015

Hi. When making the transition to the Workflow automatically creates a sub-task, but the  assignee is unknown. At the user's picture to be displayed, and it should receive messages about changes. But this is not happening. JIRA does not seem to know it. And so with any by the user when creating the automatic creation of subtasks.

https://gyazo.com/1d6e57a0672d6decdb9b9249ec658b58 https://gyazo.com/1c7ff26dc8b635f84b9cd23b54fb94d2

We have always enjoyed this post function "Create subtask" in the transition. And all was well. But now it is broke. Our assignees valid for the project. Now we have broken all projects.

We use Bob Swift Atlassian Add-ons - Create on Transition

2 answers

1 vote
Bob Swift OSS (Bob Swift Atlassian Apps)
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.
October 16, 2015

Automatic means determine the assignee based on the project's configuration including the components set for the issue. Look for the Default Assignee field in the Roles section of the specific project's administration page and also the Components page. That configuration could mean unassigned or something specific will be set. 

Admin Admin October 18, 2015

I now all of this. For example, I have user D.Sokolov, hi is project manager https://gyazo.com/dcc82983cf0aed2804b99e5131778a55. https://gyazo.com/853b0d4ad26003ae8b905910c1589cfe. When I automatically create subtask, in Transition we have assignee automatic https://gyazo.com/1b72f0e4f92a70e3808ed95c8098aedc. We have components in project https://gyazo.com/d2bab0a5aa1f7b93aa53dc61cc0a54e8 and all of them assignee оn project manager. When the sub-task is created, it is true assignee is selected, but no avatar and receiving messages https://gyazo.com/51c8c39f84327cf6fdcbe07c27475271. Jira it did not seem to know.

1 vote
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.
October 16, 2015

How are you doing this? 

  • What's your post-function code? 
  • Or are you using an add-on to do it? 
  • Or a script function?   (If so, what's the config or code?)
  • Are there errors in the log about assignee? 
  • Are your assignees valid for the project?
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.
October 16, 2015

Ah, ok, you've updated the question with more info. Thanks. Next question - what did you change that broke it? Version of plugin? Jira version? Config?

Suggest an answer

Log in or Sign up to answer