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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,567 views 2 7
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