5

I'm trying to make a custom command to clone an issue from one project to another one. To do this I would like the user to specify the new project as an argument to the command:

clone_to ProjectB

However there doesn't appear to be any way to get the argument string "ProjectB" in the actionFunction, like in the ctx argument:

https://www.jetbrains.com/help/youtrack/standalone/v1-entities.html#actionFunction

And there doesn't seem to be a way to define a command with an argument:

https://www.jetbrains.com/help/youtrack/incloud/rule-specific-properties.html#action-rule-properties https://www.jetbrains.com/help/youtrack/incloud/v1-Issue.html#action

Any ideas?

eresonance
  • 1,351
  • 11
  • 12

1 Answers1

0

I've stumbled upon this fresh feature resolving an issue started 6 years ago: They literally use your clone_to request for demo) I've tested this feature and it works fine.

Drey
  • 369
  • 3
  • 10