Create issue in project based on project picker custom field
Issue #791
resolved
I have a custom field which is a project picker. When I try to use the "Create Issues and Subtasks" post function, to create an issue and point the Project field to that custom field it fails since the custom field returns the entire project name and not the key. How can I get the project key from the project picker field?
Comments (3)
-
repo owner -
reporter I thought that might be what I have to do...thank you.
Yes, if you allow for a project picker custom field, that would be cool!
-
reporter - changed status to resolved
Followed Fidel's recommendation
- Log in to comment
Hi @SumWell,
You can use a configuration like this one:
The expression in the example is:
In this solution we have to explicitly implement an expressions that maps project names to project keys.
Not the most elegant solution, but it works.
I will try to improve the add-on in next version of the plugin in order to make possible a better solution.