How to add the URL's from the Issue Tab panel to the Text Custom field Type dynamically?

The links are either the create page link or the created page link from the confluence. I wanted to display these links on the Issue Navigator for all the issues.

I tried to set the custom field from the getActions Method of Issue Tab Panel like below. But it didn't get reflect on the view of the Custom field. I guess the custom fields values can be set only during the issue update or any event occurs or using workflow,post functions, listeners. etc.

Is there any other way to do this for adding the search functionality in issue navigator?

 

          CustomField customFieldName = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Confluence Page Links");        
          MutableIssue muttableIssue = ComponentAccessor.getIssueManager().getIssueObject(issue.getId());
  muttableIssue.setCustomFieldValue(customFieldName, "URL");

 

Capture.PNG

 

1 answer

0 vote

How does your Jira instance display this "Confluence Page Link" tab in the issue detail view?  This isn't native code to Jira itself to the best of my knowledge.  Is this generated by a plugin to Jira?  Or are you creating a custom plugin to display this?

  • I have used a custom plugin to display the links

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

81 views 0 5
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you