This is about OnDemand/Cloud – I know there are multiple solutions for hosted JIRA instances. I tried all OnDemand addons I could find (enabled them all) but couldn't find anything allowing programmatic (or even regex-based) value transformations.
I need to create a link to Confluence (so either an internal Confluence reference or a URL will be fine) based on the value of a custom dropdown field.
Ideally there would be a map from the selected value to a Wiki page so I have total freedom about the location of the target pages but I could make it work if I could just prefix the value with the base URL and apply a simple search&replace to the value so, for example, value 'Foo Bar' would be prefixed with 'https://blah.atlassian.net/wiki/display/ABC/', the value would be URL encoded (rough search/replace would do) to form the URL of https://blah.atlassian.net/wiki/display/ABC/Foo+Bar.
How can I do that?
This sort of programmatic function isn't available for JIRA Cloud. Scripting is a restricted function, and the add-ons currently available for Cloud don't provide a related functionality.
Creating the links automatically based on a Custom Field would only be possible in a JIRA Server installation.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG