I am trying to create a issue from one jira instance to another currently i have hardcoded the url in my resolver.define functions as well as in the manifest file so can we dynamically change the url that is in our manifest file?
You can try to implement an app in Atlassian Forge where the URL endpoints are defined generically, and the app routes requests dynamically based on input received, even though the manifest.yml file itself remains static.
Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards
@Humashankar VJ Hi i am trying to implement this in atlassion forge app where currently i am hardcoding the url of another instance where i want the issue to be created but i also have to mention the url in the manifest fileinside permissions/external/fetch/backend/ "url of the instance" now i was trying if i could accept the url from user where he wants to create the issue and then dymanically update the same url in my manifest file
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You cannot dynamically update the manifest.yml file, but you can construct the URL dynamically in your code. Use user input or configuration to set the instance URL and then use this value to make API calls
Create an interface for users to input the desired instance URL and store this URL using the storage API provided by Forge. This way, you can retrieve and use the URL dynamically - Hope this helps !!
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Humashankar VJ yes sir. that is what i am doing in the app right now was just wondering if we can also change the url in the manifest. Thank you for clarifying it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.