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 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,864 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot