'Archiving Components' method

Hi,

I am trying to get a method to archive components in Jira. I don’t find any methods in the below Jira API documentation to perform this operation ProjectComponentService (Atlassian JIRA 7.0.0 API)

Any idea on this?

Hello @Chandana

Which version of Jira Server are you using?

I can see where you’ve asked this same question in other Community groups, so I’ll leave it to the other people who are already helping you.

Hi @Chandana

this feature is available since Jira 8.1.0 - Archiving a component | Administering Jira applications Data Center and Server 8.1 | Atlassian Documentation

  1. MutableProjectComponent (Atlassian JIRA - Server 8.1.0 API)

setArchived(boolean archived)

  1. ProjectComponentManager (Atlassian JIRA - Server 8.1.0 API)

update(MutableProjectComponent component) throws EntityNotFoundException

Cheers
Adam

Thank You!