Is it possible to show a global project field above each issue inside that project?
For example, when setting up a project I use the "URL" field to point to the website domain. I would like to show this above each issue (clickable direct link if possible). Also Project Lead could be useful information above each issue, for quick information access.
Instead now we add a custom field "URL" in each issue for quick access, which seems like excessive administration.
Or is this simply wrong use of the project field?
Thanks a lot to @Nic Brough [Adaptavist]! A few fixes on that example gave me the desired result.
For future reference to others who read this, I used the Script Runner plugin, creaded a Scripted Field with the inline script like this, providing me with the project url as clickable link to new window:
def projectURL = issue.getProjectObject().getUrl(); return "<a href='" + projectURL + "' target='_blank'>" + projectURL + "</a>"
It's adding stuff to a screen that a lot of people would already consider too busy, but that's a minor thing.
If you have one of the scripting add-ons (I use script runner because I've used it for years, not just because I work for Adaptavist now), then you could add a custom scripted field that could read the project url and place it on the issue view screen for every issue.
But that would only appear in the "custom field" area of the issue view, not above the issue. To do that, you'd probably need to amend the headers of the view screen, which is a bit of a hack and generally not recommended.
Thanks for your quick answer Nic.
(wanted to reply sooner, but I ran into answer/commenting limit).
The plugin does seem to be able to do what I want, as far as I can see.
It does require custom scripting in a language unfamiliar to me, which is not easy to just step into, so it seems.
I think buying this addon would be helpful for many other things anyway, so I think I'll do that regardless of this challenge.
Any tips about the inline script to get the result I'm looking for?
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