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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

387 views 1 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