'Bamboo Specs - Permissions issue creating a deployment plan
I'm trying to create a deployment plan by command line from mi bamboo specs in java. When I'm trying to create it I get a permission error saying that I don't have permission to create the deployment plan. If I try to create the deployment plan manually through the browser I can do it without problems using the same user.
As info, my user has admin permissions, and the token created to use in the bamboo spec was created with the option to have the same privileges as the user.
The error is the following:
"Execution default-cli of goal com.atlassian.bamboo:bamboo-specs-runner:8.0.5:run failed: java.lang.reflect.InvocationTargetException: An error occurred while publishing deployment CAP-NEWBETEST: You don''t have CREATE permission to import deployment project. -> [Help 1]"
Is there any way to be able to create the deployment plan directly from bamboo specs?
The bamboo version I'm using is: 8.0.5 build 80013
Solution 1:[1]
What you are trying to do won't work as the return-value of the getData function is passed to the Order-component's onAdd function.
I would suggest that you create a state for the order_data in your App-component and pass the state as a prop to the Navigate-element that you are returning. You will need to update the state as soon as you retrieve the data (e.g. in getData function).
React will take care of updating the component as soon as the state changes.
See React documentation for more details: https://reactjs.org/docs/lifting-state-up.html
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Steven |
